diff options
author | Adrian Gao <mingze.gao@sydney.edu.au> | 2021-07-18 16:37:05 +1000 |
---|---|---|
committer | Adrian Gao <mingze.gao@sydney.edu.au> | 2021-07-18 16:37:05 +1000 |
commit | 4ccad1cc63b297048764e394c411798ab769e7ec (patch) | |
tree | 5b48c7bcaa16da86d3a9fa5d3cf960a963665b07 /doc/source/reference/c-api | |
parent | 94de9f7007b9264328dfa16dcf60a8c34a2c8ec0 (diff) | |
download | numpy-4ccad1cc63b297048764e394c411798ab769e7ec.tar.gz |
DOC: Fix typos
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/coremath.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/reference/c-api/coremath.rst b/doc/source/reference/c-api/coremath.rst index cec83b150..e129fdd77 100644 --- a/doc/source/reference/c-api/coremath.rst +++ b/doc/source/reference/c-api/coremath.rst @@ -49,24 +49,24 @@ Floating point classification .. c:macro:: npy_isnan(x) This is a macro, and is equivalent to C99 isnan: works for single, double - and extended precision, and return a non 0 value is x is a NaN. + and extended precision, and return a non 0 value if x is a NaN. .. c:macro:: npy_isfinite(x) This is a macro, and is equivalent to C99 isfinite: works for single, - double and extended precision, and return a non 0 value is x is neither a + double and extended precision, and return a non 0 value if x is neither a NaN nor an infinity. .. c:macro:: npy_isinf(x) This is a macro, and is equivalent to C99 isinf: works for single, double - and extended precision, and return a non 0 value is x is infinite (positive + and extended precision, and return a non 0 value if x is infinite (positive and negative). .. c:macro:: npy_signbit(x) This is a macro, and is equivalent to C99 signbit: works for single, double - and extended precision, and return a non 0 value is x has the signbit set + and extended precision, and return a non 0 value if x has the signbit set (that is the number is negative). .. c:macro:: npy_copysign(x, y) |