[Cfp-interest 1247] SNAN question
Fred J. Tydeman
tydeman at tybor.com
Sun Feb 3 11:18:21 PST 2019
Is
static float f = -SNANF;
required / allowed / prohibited to be a signaling NaN?
7.12#7 has:
If a signaling NaN macro is used
for initializing an object of the same type that has
static or thread-local storage duration, the
object is initialized with a signaling NaN value.
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (702) 608-6093 Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
More information about the Cfp-interest
mailing list