about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-08-14 20:43:27 -0400
committerRich Felker <dalias@aerifal.cx>2024-08-14 20:43:27 -0400
commitca4e632df42a41aaaf9445a0cfaa939d50a565b8 (patch)
treeb2520c14fc8b22685c2730b8cba261b6353920cc
parentc851b268bd9b9021599ecfdf0b8a43a3ab60d661 (diff)
downloadmusl-ca4e632df42a41aaaf9445a0cfaa939d50a565b8.tar.gz
musl-ca4e632df42a41aaaf9445a0cfaa939d50a565b8.tar.xz
musl-ca4e632df42a41aaaf9445a0cfaa939d50a565b8.zip
remove incorrect comment regarding powl exceptional cases
the comment does not match the required or actual behavior when x<0
and y is not an integer. while it could be corrected, the role of
comments here is to tell about characteristics unique to the
implementation, not to restate the requirements of the standard, so
just removing it seems best.
-rw-r--r--src/math/powl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/math/powl.c b/src/math/powl.c
index 6f64ea71..9eb22162 100644
--- a/src/math/powl.c
+++ b/src/math/powl.c
@@ -57,14 +57,6 @@
  *    IEEE     0,8700       60000      6.5e-18      1.0e-18
  * 0.99 < x < 1.01, 0 < y < 8700, uniformly distributed.
  *
- *
- * ERROR MESSAGES:
- *
- *   message         condition      value returned
- * pow overflow     x**y > MAXNUM      INFINITY
- * pow underflow   x**y < 1/MAXNUM       0.0
- * pow domain      x<0 and y noninteger  0.0
- *
  */
 
 #include "libm.h"