diff options
Diffstat (limited to 'libm/upstream-freebsd/lib/msun/src/e_hypotf.c')
-rw-r--r-- | libm/upstream-freebsd/lib/msun/src/e_hypotf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/upstream-freebsd/lib/msun/src/e_hypotf.c b/libm/upstream-freebsd/lib/msun/src/e_hypotf.c index 00610268f..79e46979e 100644 --- a/libm/upstream-freebsd/lib/msun/src/e_hypotf.c +++ b/libm/upstream-freebsd/lib/msun/src/e_hypotf.c @@ -14,7 +14,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); +__FBSDID("$FreeBSD: head/lib/msun/src/e_hypotf.c 336362 2018-07-17 07:42:14Z bde $"); #include "math.h" #include "math_private.h" @@ -77,7 +77,7 @@ __ieee754_hypotf(float x, float y) w = __ieee754_sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b))); } if(k!=0) { - SET_FLOAT_WORD(t1,(127+k)<<23); + SET_FLOAT_WORD(t1,0x3f800000+(k<<23)); return t1*w; } else return w; } |