[Bug 240295] math(3): Add Complex Arithmetic functions and their hyperbolic counterparts
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Thu Sep  5 23:07:59 UTC 2019
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240295
Steve Kargl <kargl at FreeBSD.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at FreeBSD.org
--- Comment #2 from Steve Kargl <kargl at FreeBSD.org> ---
Sigh.  Here we go again.
>From src/lib/msun/src/math_private.h
 * The C99 standard intends x+I*y to be used for this, but x+I*y is
 * currently unusable in general since gcc introduces many overflow,
 * underflow, sign and efficiency bugs by rewriting I*y as
 * (0.0+I)*(y+0.0*I) and laboriously computing the full complex product.
 * In particular, I*Inf is corrupted to NaN+I*Inf, and I*-0 is corrupted
 * to -0.0+I*0.0.
>From the llvm bug database
https://bugs.llvm.org/show_bug.cgi?id=8532
Some of the code in the patch uses I.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the freebsd-numerics
mailing list