[PATCH] manual: Cube roots are rarely representable
Alejandro Colomar
alx@kernel.org
Tue Mar 5 01:10:17 GMT 2024
Reported-by: Morten Welinder <mwelinder@gmail.com>
Cowritten-by: Morten Welinder <mwelinder@gmail.com>
Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
Hi Adhemerval,
I've used semantic newlines, but maybe you prefer not. Just let me
know.
Have a lovely night!
Alex
manual/math.texi | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/manual/math.texi b/manual/math.texi
index bf4027c4ee..bc65400bc8 100644
--- a/manual/math.texi
+++ b/manual/math.texi
@@ -697,8 +697,12 @@ Mathematically, it should return a complex number.
@standardsx{cbrtfN, TS 18661-3:2015, math.h}
@standardsx{cbrtfNx, TS 18661-3:2015, math.h}
@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
-These functions return the cube root of @var{x}. They cannot
-fail; every representable real value has a representable real cube root.
+These functions return the cube root of @var{x}.
+They cannot fail;
+every representable real value
+has a real cube root,
+and rounding it to a representable value
+never causes overflow nor underflow.
@end deftypefun
@deftypefun double hypot (double @var{x}, double @var{y})
--
2.43.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20240305/f880c2f7/attachment.sig>
More information about the Libc-alpha
mailing list