Fix some places to use $(LN_S) makefile variable.
[glibc.git] / sysdeps / ieee754 / flt-32 / s_isinf_nsf.c
blob284d61926ad9b6d47fc8b8cc118c5612324f6def
1 /*
2 * Written by Ulrich Drepper <drepper@gmail.com>.
3 */
5 /*
6 * __isinf_nsf(x) returns != 0 if x is ±inf, else 0;
7 * no branching!
8 */
10 #include <math.h>
11 #include <math_private.h>
13 #undef __isinf_nsf
14 int
15 __isinf_nsf (float x)
17 int32_t ix;
18 GET_FLOAT_WORD(ix,x);
19 return (ix & 0x7fffffff) == 0x7f800000;