aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.c
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-11-18 12:24:37 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-11-18 12:24:37 +0100
commitdaa46b24452c2c2eb817170d48a6585bec3c919e (patch)
treea9afe822dcd64f2df4e760b9ffc757414c47527a /src/parser.c
parent45ef41a78b8dd0564b9d704ce2c4ad3c1b983ae5 (diff)
floating point NaNs are always printed as "nan"HEADmaster
FreeBSD's libc gives fmod(1, 0) as nan, while Ubuntu/glibc produces -nan. This broke the test suite on Linux. Instead, we now print -nan as "nan" as well. The sign bit shouldn't convey any meaning, at least in SciTECO where you cannot do any NaN-boxing.
Diffstat (limited to 'src/parser.c')
0 files changed, 0 insertions, 0 deletions