add math.isNaN (#16179)

* add math.isNaN
* isNaN now works with --passc:-ffast-math; tests
* Update lib/pure/math.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
Timothee Cour 2020-12-11 02:01:43 -08:00 • committed by GitHub
commit 0b73106ccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 5 deletions

View file

@ -58,6 +58,8 @@
- `strscans.scanf` now supports parsing single characters.
- Added `math.isNaN`.
## Language changes
- `nimscript` now handles `except Exception as e`.