This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15749] cbrtl fails for arguments > 1e308


http://sourceware.org/bugzilla/show_bug.cgi?id=15749

--- Comment #3 from Jeremy <gcc.hall at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #2)
> The problem is that ldbl-96 cbrtl calls fabs when it should call fabsl.  
> This will also result in spurious underflows for arguments that underflow 
> doubles.  (It shouldn't cause significantly inaccurate results for other 
> cases - the Newton-Raphson iterations should eliminate any significant 
> consequences of xm being slightly inaccurate.)
> 
> There's a standing issue in the wiki todo list to improve libm-test.inc 
> coverage of large and small input values including subnormals, which would 
> have detected this issue (and I suspect various other bugs not yet found) 
> - currently all finite nonzero test arguments to cbrt have absolute values 
> between 0.001 and 27.

Thanks

I am using the 64-bit version of the library, so perhaps ldbl-128 is affected
too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]