From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 6A6B73846401; Wed, 3 Apr 2024 12:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A6B73846401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712147377; bh=VTI/2MvrDC9MBPwk3HcqwKJrcx/u+6pAuyfGqNxi40U=; h=From:To:Subject:Date:From; b=j1/704JqCatffYDKb1ulwbEieS1eSZ4H3vVYLqtXGOQF0xAT/UdVJ+2OEgD7fKrxg AvsEnBtG5/1uNLxo5DxKtRGS2b02fTChURuamrluqtdIhqykKUJ2zTyuQ+f/WYWWgx QHLSlPlUTq62/xWvEeR0y/c+V0kiCPqOhTryKFR4= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] manual: Clarify return value of cbrt(3) X-Act-Checkin: glibc X-Git-Author: Alejandro Colomar X-Git-Refname: refs/heads/master X-Git-Oldrev: 077613291b271b64fa60b8a22c3b39c9db697b65 X-Git-Newrev: e01b3b86e821e1132da76ce79ebb301033141e6d Message-Id: <20240403122937.6A6B73846401@sourceware.org> Date: Wed, 3 Apr 2024 12:29:37 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e01b3b86e821e1132da76ce79ebb301033141e6d commit e01b3b86e821e1132da76ce79ebb301033141e6d Author: Alejandro Colomar Date: Sun Mar 31 22:38:48 2024 +0200 manual: Clarify return value of cbrt(3) Link: Reported-by: Morten Welinder Cowritten-by: Morten Welinder Cc: Adhemerval Zanella Netto Cc: Vincent Lefevre Cc: DJ Delorie Cc: Paul Zimmermann Cc: Andreas Schwab Signed-off-by: Alejandro Colomar Reviewed-by: DJ Delorie Diff: --- manual/math.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manual/math.texi b/manual/math.texi index 79bf3a1401..dfb685a71e 100644 --- a/manual/math.texi +++ b/manual/math.texi @@ -700,8 +700,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})