|
From: <kin...@us...> - 2025-09-03 17:45:45
|
Revision: 7347
http://sourceforge.net/p/teem/code/7347
Author: kindlmann
Date: 2025-09-03 17:45:42 +0000 (Wed, 03 Sep 2025)
Log Message:
-----------
how on earth did I write float piD = 3.141.... Fixing that, and adding some static things that might in some bizarro universe matter
Modified Paths:
--------------
teem/trunk/CMake/TestAIR_EXISTS.c
Modified: teem/trunk/CMake/TestAIR_EXISTS.c
===================================================================
--- teem/trunk/CMake/TestAIR_EXISTS.c 2025-09-03 04:15:49 UTC (rev 7346)
+++ teem/trunk/CMake/TestAIR_EXISTS.c 2025-09-03 17:45:42 UTC (rev 7347)
@@ -19,9 +19,9 @@
/* from teem/src/air/754.c: this could actually be a quiet NaN
or a signalling NaN, but that shouldn't make a difference for
this configure-time test */
-const airFloat airFloatQNaN = {0x7fffffff};
-const airFloat airFloatPosInf = {0x7f800000};
-const airFloat airFloatNegInf = {0xff800000};
+static const airFloat airFloatQNaN = {0x7fffffff};
+static const airFloat airFloatPosInf = {0x7f800000};
+static const airFloat airFloatNegInf = {0xff800000};
#define AIR_CAST(t, v) ((t)(v))
/* MUST BE COPIED DIRECTLY FROM from air.h !! */
@@ -38,7 +38,7 @@
double nanD = (double)nanF;
double pinfD = (double)pinfF;
double ninfD = (double)ninfF;
- float piD = 3.1415926535897932384626433;
+ double piD = 3.1415926535897932384626433;
int ret;
if (AIR_EXISTS(nanF) || AIR_EXISTS(pinfF) || AIR_EXISTS(ninfF) /* */
|| AIR_EXISTS(nanD) || AIR_EXISTS(pinfD) || AIR_EXISTS(ninfD) /* */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|