chiark / gitweb /
@@@ utils/t/fltfmt-test.c: Use correct constant name `INFINITY'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Apr 2025 19:59:26 +0000 (20:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 24 Apr 2025 19:59:26 +0000 (20:59 +0100)
utils/t/fltfmt-test.c

index 9ed7c68440cc34895eebeca6e9fc906d2672e7d1..bc99c6b3c9f1258f5c8ed9f468d762c2fa50ca97 100644 (file)
@@ -422,7 +422,7 @@ static void setup_assume(struct tvec_state *tv, const struct tvec_env *env,
     default:
       actx->af = 0;
       if (NEGP(-0.0)) actx->af |= AF_NEGZ;
     default:
       actx->af = 0;
       if (NEGP(-0.0)) actx->af |= AF_NEGZ;
-#ifdef INF
+#ifdef INFINITY
       actx->af |= AF_INF;
 #endif
 #ifdef NAN
       actx->af |= AF_INF;
 #endif
 #ifdef NAN