| ... | @@ -17,7 +17,6 @@ | ... | @@ -17,7 +17,6 @@ |
| 17 | #include "util.hpp" | 17 | #include "util.hpp" |
| 18 | | 18 | |
| 19 | #include <errno.h> | 19 | #include <errno.h> |
| 20 | #include <math.h> | | |
| 21 | | 20 | |
| 22 | struct IrExecContext { | 21 | struct IrExecContext { |
| 23 | ZigList<ConstExprValue *> mem_slot_list; | 22 | ZigList<ConstExprValue *> mem_slot_list; |
| ... | @@ -8251,9 +8250,9 @@ static bool float_is_nan(ConstExprValue *op) { | ... | @@ -8251,9 +8250,9 @@ static bool float_is_nan(ConstExprValue *op) { |
| 8251 | case 16: | 8250 | case 16: |
| 8252 | return f16_isSignalingNaN(op->data.x_f16); | 8251 | return f16_isSignalingNaN(op->data.x_f16); |
| 8253 | case 32: | 8252 | case 32: |
| 8254 | return isnan(op->data.x_f32); | 8253 | return op->data.x_f32 != op->data.x_f32; |
| 8255 | case 64: | 8254 | case 64: |
| 8256 | return isnan(op->data.x_f64); | 8255 | return op->data.x_f64 != op->data.x_f64; |
| 8257 | case 128: | 8256 | case 128: |
| 8258 | return f128M_isSignalingNaN(&op->data.x_f128); | 8257 | return f128M_isSignalingNaN(&op->data.x_f128); |
| 8259 | default: | 8258 | default: |