diff options
author | bde <bde@FreeBSD.org> | 1997-03-05 11:54:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-05 11:54:00 +0000 |
commit | 8f4ea9b77677e120f9483560c4ca8faadad8357f (patch) | |
tree | 09c203a2eaeecfa5dbe286b8b563e04f2803684b /lib/libc_r | |
parent | 6ba0dbd35ac15d0a0c9237de79d172cf19f7c01f (diff) | |
download | FreeBSD-src-8f4ea9b77677e120f9483560c4ca8faadad8357f.zip FreeBSD-src-8f4ea9b77677e120f9483560c4ca8faadad8357f.tar.gz |
Fixed wrong magic numbers in scaling. hypotf() was very broken for large
and small values:
hypotf(2.3819765e+38, 2.0416943e+38) was NaN instead of 3.1372484e+38
hypotf(-3.4028235e+38, 3.3886450e+38) was NaN instead of Inf
hypotf(-2.8025969e-45, -2.8025969e-45) was 0 instead of 4.2038954e-45
Found by: ucbtest
Diffstat (limited to 'lib/libc_r')
0 files changed, 0 insertions, 0 deletions