-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
promote math.isNaN #16627
promote math.isNaN #16627
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after addressing comment
CI failure was caused by #16646, I commited a workaround patch |
Sorry, but the older version is less code and this is not performance critical at all. |
postponed till #16646 is fixed then, by which point there wouldn't need to have the missing |
…17895) * revive #16627 now that csources_v1 was merged * use dedent in rst.nim, refs #17257 (comment) * fix test and improve rendering of a rst warning
…ces_v1 (nim-lang#17895) * revive nim-lang#16627 now that csources_v1 was merged * use dedent in rst.nim, refs nim-lang#17257 (comment) * fix test and improve rendering of a rst warning
isNaN
is more efficient thanclassify(x) == fcNan
.Ref timotheecour#64 (comment)