summaryrefslogtreecommitdiffhomepage
path: root/types.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-11-29 10:29:49 +0100
committerJo-Philipp Wich <jo@mein.io>2022-11-29 10:37:57 +0100
commit83661021edbeeeef56d5687b44619e557e09e568 (patch)
tree9a7b859b208acc5bfbb40f2c4a791835b519439c /types.c
parenteef83d3e849743911b29133e6ef873f7e0d34c1c (diff)
math: add isnan() function
Add a new `isnan()` convenience function to the math library which can be used to test if a given value is a NaN double. The same test can be realized without the math library by using a function similar to the following one: function isNaN(x) { return x != x; } Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'types.c')
0 files changed, 0 insertions, 0 deletions