aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorvassvik <mvassvik@gmail.com>2019-12-12 19:12:12 +0100
committerGitHub <noreply@github.com>2019-12-12 19:12:12 +0100
commit2d97e1dee38857036aa15068dc70a2cb57e14381 (patch)
treeb5cbe4fc02236fb4990a95a8637c096e40800c91 /src/parser.cpp
parentbe2dfd42fdc8c7f4bdddbac8a5778dacd19df7f1 (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/parser.cpp')
0 files changed, 0 insertions, 0 deletions