repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git]
/
newlib
/
libm
/
machine
/
i386
/
f_math.h
blob
833e5cff9c5c7a68d8e7095288c05f018d0bbdb5
1
#ifndef __F_MATH_H__
2
#define __F_MATH_H__
3
4
#include <_ansi.h>
5
#include
"fdlibm.h"
6
7
__inline__
8
static
9
int
10
check_finite
(
double
x
)
11
{
12
__int32_t hx
;
13
GET_HIGH_WORD
(
hx
,
x
);
14
return
(
int
)((
__uint32_t
)((
hx
&
0x7fffffff
)-
0x7ff00000
)>>
31
);
15
}
16
17
__inline__
18
static
19
int
20
check_finitef
(
float
x
)
21
{
22
__int32_t ix
;
23
GET_FLOAT_WORD
(
ix
,
x
);
24
return
(
int
)((
__uint32_t
)((
ix
&
0x7fffffff
)-
0x7f800000
)>>
31
);
25
}
26
27
#endif
/* __F_MATH_H__ */