Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 2019 23:07:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 240295] math(3): Add Complex Arithmetic functions and their hyperbolic counterparts
Message-ID:  <bug-240295-18636-lIyOt1pbje@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240295-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240295-18636@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240295

Steve Kargl <kargl@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl@FreeBSD.org

--- Comment #2 from Steve Kargl <kargl@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=3D8532

Some of the code in the patch uses I.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240295-18636-lIyOt1pbje>