Date: Mon, 17 Jun 2002 08:28:59 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src e_pow.c e_powf.c Message-ID: <200206171528.g5HFSxS61922@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2002/06/17 08:28:59 PDT Modified files: lib/msun/src e_pow.c e_powf.c Log: 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 Revision Changes Path 1.9 +1 -1 src/lib/msun/src/e_pow.c 1.9 +1 -1 src/lib/msun/src/e_powf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206171528.g5HFSxS61922>