1 #ifndef ALPHA_MATH_PRIVATE_H
2 #define ALPHA_MATH_PRIVATE_H 1
4 /* In bits/mathinline.h we define __isnan et al.
5 In sysdeps/alpha/fpu/s_isnan.c we move the identifier out of the way
6 via macro hackery. In both cases, tell math/math_private.h that
7 we have a local copy of the function. */
10 # define __isnan __isnan
13 # define __isnanf __isnanf
16 # define __isnanl __isnanl
19 #include_next <math_private.h>
22 extern __always_inline
double
23 __ieee754_sqrt (double d
)
26 # ifdef _IEEE_FP_INEXACT
27 asm ("sqrtt/suid %1,%0" : "=f"(ret
) : "f"(d
));
29 asm ("sqrtt/sud %1,%0" : "=f"(ret
) : "f"(d
));
34 extern __always_inline
float
35 __ieee754_sqrtf (float d
)
38 # ifdef _IEEE_FP_INEXACT
39 asm ("sqrts/suid %1,%0" : "=f"(ret
) : "f"(d
));
41 asm ("sqrts/sud %1,%0" : "=f"(ret
) : "f"(d
));
47 #endif /* ALPHA_MATH_PRIVATE_H */