1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/lib/msun
Bruce Evans 3e2ec6ea88 e_pow.c:
Fixed pow(x, y) when x is very close to -1.0 and y is a very large odd
integer.  E.g., pow(-1.0 - pow(2.0, -52.0), 1.0 + pow(2.0, 52.0)) was
0.0 instead of being very close to -exp(1.0).

PR:		39236
Submitted by:	Stephen L Moshier <steve@moshier.net>

e_powf.c:
Apply the same patch although it is just cosmetic because odd integers
large enough to cause the problem are too large to be precisely represented
as floats.

MFC after:	1 week
2002-06-17 15:28:59 +00:00
..
alpha
bsdsrc Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
i387 Removed bogus 'l' suffixes in FP register to register instructions. 2000-06-06 12:12:36 +00:00
man Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes. 2002-03-26 11:59:29 +00:00
src e_pow.c: 2002-06-17 15:28:59 +00:00
Makefile Added new bsd.incs.mk which handles installing of header files 2002-05-12 16:01:00 +00:00