musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
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 /src
parentc851b268bd9b9021599ecfdf0b8a43a3ab60d661 (diff)
downloadmusl-ca4e632df42a41aaaf9445a0cfaa939d50a565b8.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/math/powl.c 8
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"
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 08:31:59 +0000

AltStyle によって変換されたページ (->オリジナル) /