diff options
| author | vassvik <mvassvik@gmail.com> | 2019-12-12 19:12:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-12 19:12:12 +0100 |
| commit | 2d97e1dee38857036aa15068dc70a2cb57e14381 (patch) | |
| tree | b5cbe4fc02236fb4990a95a8637c096e40800c91 /src/exact_value.cpp | |
| parent | be2dfd42fdc8c7f4bdddbac8a5778dacd19df7f1 (diff) | |
Fix NaN checks in core:math.classify
Currently the classify procedures checks for NaNs using the check `x != x`, which is always false for NaNs and therefore that case is never entered. Using `!(x == x)` will work on the other hand.
Diffstat (limited to 'src/exact_value.cpp')
0 files changed, 0 insertions, 0 deletions