repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libm
/
common
/
sf_infinity.c
blob
8722596c9784fec06d4d29f03f3b824826bd132a
1
/*
2
* infinityf () returns the representation of infinity.
3
* Added by Cygnus Support.
4
*/
5
6
#include
"fdlibm.h"
7
8
float
infinityf
()
9
{
10
float
x
;
11
12
SET_FLOAT_WORD
(
x
,
0x7f800000
);
13
return
x
;
14
}
15
16
#ifdef _DOUBLE_IS_32BITS
17
18
double
infinity
()
19
{
20
return
(
double
)
infinityf
();
21
}
22
23
#endif
/* defined(_DOUBLE_IS_32BITS) */