1 /*
2 Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
3 
4 Developed at SunPro, a Sun Microsystems, Inc. business.
5 Permission to use, copy, modify, and distribute this
6 software is freely granted, provided that this notice
7 is preserved.
8  */
9 /*
10  * __isinff(x) returns 1 if x is +-infinity, else 0;
11  * Added by Cygnus Support.
12  */
13 
14 #include "fdlibm.h"
15 
16 int
__isinff(float x)17 __isinff (float x)
18 {
19 	__int32_t ix;
20 	GET_FLOAT_WORD(ix,x);
21 	ix &= 0x7fffffff;
22 	return FLT_UWORD_IS_INFINITE(ix);
23 }
24 
25 _MATH_ALIAS_i_f(__isinf)
26