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  * infinityf () returns the representation of infinity.
11  * Added by Cygnus Support.
12  */
13 
14 #include "fdlibm.h"
15 
infinityf(void)16 float infinityf(void)
17 {
18 	float x;
19 
20 	SET_FLOAT_WORD(x,0x7f800000);
21 	return x;
22 }
23 
24 _MATH_ALIAS_f(infinity)
25