diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-22 07:35:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-22 07:35:57 -0700 |
commit | 3bbd2882d31bc5281a1bbd4f4de6860ec1b62874 (patch) | |
tree | b53472272241031155b4766c49874324df416137 | |
parent | 05d9bef9e90d0be0ed7d330e7cfaa376df78f739 (diff) | |
download | txr-3bbd2882d31bc5281a1bbd4f4de6860ec1b62874.tar.gz txr-3bbd2882d31bc5281a1bbd4f4de6860ec1b62874.tar.bz2 txr-3bbd2882d31bc5281a1bbd4f4de6860ec1b62874.zip |
float: fix syntax error involving fplassify.
* lib.c (bad_float): Add missing parentheses around
controlling expression of switch statement. This worked on
glibc because it's a macro which expands to parentheses.
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3288,7 +3288,7 @@ cnum c_fixnum(val num, val self) #if HAVE_FPCLASSIFY INLINE int bad_float(double d) { - switch fpclassify(d) { + switch (fpclassify(d)) { case FP_ZERO: case FP_NORMAL: case FP_SUBNORMAL: |