From ca4e632df42a41aaaf9445a0cfaa939d50a565b8 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 14 Aug 2024 20:43:27 -0400 Subject: 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. --- src/math/powl.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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" -- cgit v1.2.1