ReactOS  0.4.13-dev-698-g77671f0
math.h
Go to the documentation of this file.
1 #ifndef __CRT_INTERNAL_MATH_H
2 #define __CRT_INTERNAL_MATH_H
3 
4 #ifndef _CRT_PRECOMP_H
5 #error DO NOT INCLUDE THIS HEADER DIRECTLY
6 #endif
7 
8 int _isinf (double); /* not exported */
9 int _isnanl (long double); /* not exported */
10 int _isinfl (long double); /* not exported */
11 
12 #if defined(__GNUC__)
13 #define FPU_DOUBLE(var) double var; \
14  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var) : )
15 #define FPU_DOUBLES(var1,var2) double var1,var2; \
16  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var2) : ); \
17  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var1) : )
18 #elif defined(_MSC_VER)
19 #define FPU_DOUBLE(var) double var; \
20  __asm { fstp [var] }; __asm { fwait };
21 #define FPU_DOUBLES(var1,var2) double var1,var2; \
22  __asm { fstp [var1] }; __asm { fwait }; \
23  __asm { fstp [var2] }; __asm { fwait };
24 #endif
25 
26 #endif
int _isinfl(long double)
int _isinf(double)
int _isnanl(long double)