diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-01-02 05:47:31 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-01-02 05:47:31 +0100 |
commit | 0e1f4288ee9cfa4cae8ea7c24707b61a8535953c (patch) | |
tree | bebfcbf34fd5f3bcbfc93fb954a13a4b475712c5 /386/include/ape/math.h | |
parent | 5991e01ed7537f1f105355e1405ea75de33971f2 (diff) | |
download | plan9front-0e1f4288ee9cfa4cae8ea7c24707b61a8535953c.tar.xz |
ape: add missing isnan() and isinf() macros for 386 (thanks Jonas)
Diffstat (limited to '386/include/ape/math.h')
-rw-r--r-- | 386/include/ape/math.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/386/include/ape/math.h b/386/include/ape/math.h index a9cd9dfa5..3bd3daade 100644 --- a/386/include/ape/math.h +++ b/386/include/ape/math.h @@ -73,4 +73,7 @@ extern double yn(int, double); } #endif +#define isnan(x) isNaN(x) +#define isinf(x) isInf(x, 0) + #endif /* __MATH */ |