e_sqrtf.c (2dcc228679cb39677331f1064bedb9eac825a52f) | e_sqrtf.c (59b19ff14a36bb975819fff8c7bd8648a9b29537) |
---|---|
1/* e_sqrtf.c -- float version of e_sqrt.c. 2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 3 */ 4 5/* 6 * ==================================================== 7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 8 * --- 8 unchanged lines hidden (view full) --- 17static char rcsid[] = "$FreeBSD$"; 18#endif 19 20#include "math.h" 21#include "math_private.h" 22 23static const float one = 1.0, tiny=1.0e-30; 24 | 1/* e_sqrtf.c -- float version of e_sqrt.c. 2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 3 */ 4 5/* 6 * ==================================================== 7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 8 * --- 8 unchanged lines hidden (view full) --- 17static char rcsid[] = "$FreeBSD$"; 18#endif 19 20#include "math.h" 21#include "math_private.h" 22 23static const float one = 1.0, tiny=1.0e-30; 24 |
25 float __ieee754_sqrtf(float x) | 25float 26__ieee754_sqrtf(float x) |
26{ 27 float z; 28 int32_t sign = (int)0x80000000; 29 int32_t ix,s,q,m,t,i; 30 u_int32_t r; 31 32 GET_FLOAT_WORD(ix,x); 33 --- 55 unchanged lines hidden --- | 27{ 28 float z; 29 int32_t sign = (int)0x80000000; 30 int32_t ix,s,q,m,t,i; 31 u_int32_t r; 32 33 GET_FLOAT_WORD(ix,x); 34 --- 55 unchanged lines hidden --- |