NetBSD/lib/libm
maya 43e54dd9fc csqrt has a branch cut on the negative real axis, and this requires
delicacy in order to maintain continuity around it.

we have an initial case to deal with a fairly common case: getting
a real number. Avoid dealing with the branch cut in this case by
checking if the real part is negative.

later, -0.0 < 0 is not met, so instead, test for a negative number
using signbit, so negative zero is also treated as a negative number.

Fixes last part of PR lib/51427: libm issues triggered by py-numpy

ok riastradh
2016-12-31 20:01:15 +00:00
..
arch more fenv for sh 2016-08-25 12:15:28 +00:00
compat
compiler_rt Long double complex multiplication and division helpers are needed on 2016-02-27 19:06:56 +00:00
complex csqrt has a branch cut on the negative real axis, and this requires 2016-12-31 20:01:15 +00:00
gen strtod, not strod. 2016-08-27 02:56:26 +00:00
man BUGS section is no longer correct 2016-08-22 07:33:30 +00:00
noieee_src deal with namespace issues and missing atanhf for vax. 2016-09-21 14:11:40 +00:00
src Add the complex trig functions from FreeBSD 2016-09-19 22:05:05 +00:00
Makefile more stuff needs -mfpu=vfp 2016-12-08 18:42:01 +00:00
shlib_version Add the missing complex functions. 2014-10-10 00:48:18 +00:00