summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-04-18 20:58:22 +0300
committerPrithvi <prithvisinghtewatia@gmail.com>2022-06-17 21:13:08 +0530
commit54cbbfadb4d0602611408206d6c986323b9fa2a1 (patch)
treeabe22ff0233b414009fa8d7f733a5cddab02728e
parent50b3e44c2f3d292d0623a46af89b24f022abc946 (diff)
downloadnumpy-54cbbfadb4d0602611408206d6c986323b9fa2a1.tar.gz
add 754 to IEEE 754
Co-authored-by: Ivan Gonzalez <scratchmex@gmail.com>
-rw-r--r--numpy/core/src/npymath/npy_math_complex.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/npymath/npy_math_complex.c.src b/numpy/core/src/npymath/npy_math_complex.c.src
index 72164d8e4..a78c26809 100644
--- a/numpy/core/src/npymath/npy_math_complex.c.src
+++ b/numpy/core/src/npymath/npy_math_complex.c.src
@@ -448,7 +448,7 @@ npy_cpow@c@ (@ctype@ a, @ctype@ b)
/*
* Checking if in a^b, if b is zero.
* If a is not zero then by definition of logarithm a^0 is 1.
- * If a is also zero then as per IEEE 0^0 is best defined as 1.
+ * If a is also zero then as per IEEE 754 0^0 is best defined as 1.
*/
if (br == 0. && bi == 0.) {
return npy_cpack@c@(1., 0.);