ReactOS 0.4.16-dev-1588-g6ad06fc
float.h File Reference
#include <corecrt.h>
Include dependency graph for float.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _INC_FLOAT
 
#define _CRT_MANAGED_FP_DEPRECATE
 
#define FLT_EVAL_METHOD   0
 
#define DBL_DECIMAL_DIG   17
 
#define DBL_DIG   15
 
#define DBL_EPSILON   2.2204460492503131e-016
 
#define DBL_HAS_SUBNORM   1
 
#define DBL_MANT_DIG   53
 
#define DBL_MAX   1.7976931348623158e+308
 
#define DBL_MAX_10_EXP   308
 
#define DBL_MAX_EXP   1024
 
#define DBL_MIN   2.2250738585072014e-308
 
#define DBL_MIN_10_EXP   (-307)
 
#define DBL_MIN_EXP   (-1021)
 
#define _DBL_RADIX   2
 
#define DBL_TRUE_MIN   4.9406564584124654e-324
 
#define FLT_DECIMAL_DIG   9
 
#define FLT_DIG   6
 
#define FLT_EPSILON   1.192092896e-07F
 
#define FLT_HAS_SUBNORM   1
 
#define FLT_GUARD   0
 
#define FLT_MANT_DIG   24
 
#define FLT_MAX   3.402823466e+38F
 
#define FLT_MAX_10_EXP   38
 
#define FLT_MAX_EXP   128
 
#define FLT_MIN   1.175494351e-38F
 
#define FLT_MIN_10_EXP   (-37)
 
#define FLT_MIN_EXP   (-125)
 
#define FLT_NORMALIZE   0
 
#define FLT_RADIX   2
 
#define FLT_TRUE_MIN   1.401298464e-45F
 
#define LDBL_DIG   DBL_DIG
 
#define LDBL_EPSILON   DBL_EPSILON
 
#define LDBL_HAS_SUBNORM   DBL_HAS_SUBNORM
 
#define LDBL_MANT_DIG   DBL_MANT_DIG
 
#define LDBL_MAX   DBL_MAX
 
#define LDBL_MAX_10_EXP   DBL_MAX_10_EXP
 
#define LDBL_MAX_EXP   DBL_MAX_EXP
 
#define LDBL_MIN   DBL_MIN
 
#define LDBL_MIN_10_EXP   DBL_MIN_10_EXP
 
#define LDBL_MIN_EXP   DBL_MIN_EXP
 
#define _LDBL_RADIX   _DBL_RADIX
 
#define LDBL_TRUE_MIN   DBL_TRUE_MIN
 
#define DECIMAL_DIG   DBL_DECIMAL_DIG
 
#define _SW_INEXACT   0x00000001
 
#define _SW_UNDERFLOW   0x00000002
 
#define _SW_OVERFLOW   0x00000004
 
#define _SW_ZERODIVIDE   0x00000008
 
#define _SW_INVALID   0x00000010
 
#define _SW_DENORMAL   0x00080000
 
#define _EM_AMBIGUIOUS   0x80000000
 
#define _EM_AMBIGUOUS   0x80000000
 
#define _MCW_EM   0x0008001f
 
#define _EM_INEXACT   0x00000001
 
#define _EM_UNDERFLOW   0x00000002
 
#define _EM_OVERFLOW   0x00000004
 
#define _EM_ZERODIVIDE   0x00000008
 
#define _EM_INVALID   0x00000010
 
#define _EM_DENORMAL   0x00080000
 
#define _MCW_RC   0x00000300
 
#define _RC_NEAR   0x00000000
 
#define _RC_DOWN   0x00000100
 
#define _RC_UP   0x00000200
 
#define _RC_CHOP   0x00000300
 
#define _MCW_PC   0x00030000
 
#define _PC_64   0x00000000
 
#define _PC_53   0x00010000
 
#define _PC_24   0x00020000
 
#define _MCW_IC   0x00040000
 
#define _IC_AFFINE   0x00040000
 
#define _IC_PROJECTIVE   0x00000000
 
#define _MCW_DN   0x03000000
 
#define _DN_SAVE   0x00000000
 
#define _DN_FLUSH   0x01000000
 
#define _DN_FLUSH_OPERANDS_SAVE_RESULTS   0x02000000
 
#define _DN_SAVE_OPERANDS_FLUSH_RESULTS   0x03000000
 
#define _SW_UNEMULATED   0x0040
 
#define _SW_SQRTNEG   0x0080
 
#define _SW_STACKOVERFLOW   0x0200
 
#define _SW_STACKUNDERFLOW   0x0400
 
#define _FPE_INVALID   0x81
 
#define _FPE_DENORMAL   0x82
 
#define _FPE_ZERODIVIDE   0x83
 
#define _FPE_OVERFLOW   0x84
 
#define _FPE_UNDERFLOW   0x85
 
#define _FPE_INEXACT   0x86
 
#define _FPE_UNEMULATED   0x87
 
#define _FPE_SQRTNEG   0x88
 
#define _FPE_STACKOVERFLOW   0x8a
 
#define _FPE_STACKUNDERFLOW   0x8b
 
#define _FPE_EXPLICITGEN   0x8c
 
#define _FPE_MULTIPLE_TRAPS   0x8d
 
#define _FPE_MULTIPLE_FAULTS   0x8e
 
#define _FPCLASS_SNAN   0x0001
 
#define _FPCLASS_QNAN   0x0002
 
#define _FPCLASS_NINF   0x0004
 
#define _FPCLASS_NN   0x0008
 
#define _FPCLASS_ND   0x0010
 
#define _FPCLASS_NZ   0x0020
 
#define _FPCLASS_PZ   0x0040
 
#define _FPCLASS_PD   0x0080
 
#define _FPCLASS_PN   0x0100
 
#define _FPCLASS_PINF   0x0200
 
#define _clear87   _clearfp
 
#define _status87   _statusfp
 
#define _fpecode   (*__fpecode())
 
#define FLT_ROUNDS   (__fpe_flt_rounds())
 
#define _DBL_ROUNDS   FLT_ROUNDS
 
#define _LDBL_ROUNDS   _DBL_ROUNDS
 

Functions

_CRT_MANAGED_FP_DEPRECATE _ACRTIMP unsigned int __cdecl _clearfp (void)
 
_CRT_MANAGED_FP_DEPRECATE _CRT_INSECURE_DEPRECATE (_controlfp_s) _ACRTIMP unsigned int __cdecl _controlfp(_In_ unsigned int _NewValue
 
_CRT_MANAGED_FP_DEPRECATE _ACRTIMP void __cdecl _set_controlfp (_In_ unsigned int _NewValue, _In_ unsigned int _Mask)
 
_CRT_MANAGED_FP_DEPRECATE _ACRTIMP errno_t __cdecl _controlfp_s (_Out_opt_ unsigned int *_CurrentState, _In_ unsigned int _NewValue, _In_ unsigned int _Mask)
 
_CRT_MANAGED_FP_DEPRECATE _ACRTIMP unsigned int __cdecl _statusfp (void)
 
_CRT_MANAGED_FP_DEPRECATE _ACRTIMP void __cdecl _fpreset (void)
 
_CRT_MANAGED_FP_DEPRECATE _ACRTIMP unsigned int __cdecl _control87 (_In_ unsigned int _NewValue, _In_ unsigned int _Mask)
 
_Check_return_ _ACRTIMP int *__cdecl __fpecode (void)
 
_Check_return_ _ACRTIMP int __cdecl __fpe_flt_rounds (void)
 
_Check_return_ _ACRTIMP double __cdecl _copysign (_In_ double _Number, _In_ double _Sign)
 
_Check_return_ _ACRTIMP double __cdecl _chgsign (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _scalb (_In_ double _X, _In_ long _Y)
 
_Check_return_ _ACRTIMP double __cdecl _logb (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _nextafter (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP int __cdecl _finite (_In_ double _X)
 
_Check_return_ _ACRTIMP int __cdecl _isnan (_In_ double _X)
 
_Check_return_ _ACRTIMP int __cdecl _fpclass (_In_ double _X)
 

Variables

_CRT_MANAGED_FP_DEPRECATE _In_ unsigned int _Mask
 

Macro Definition Documentation

◆ _clear87

#define _clear87   _clearfp

Definition at line 273 of file float.h.

◆ _CRT_MANAGED_FP_DEPRECATE

#define _CRT_MANAGED_FP_DEPRECATE

Definition at line 30 of file float.h.

◆ _DBL_RADIX

#define _DBL_RADIX   2

Definition at line 82 of file float.h.

◆ _DBL_ROUNDS

#define _DBL_ROUNDS   FLT_ROUNDS

Definition at line 302 of file float.h.

◆ _DN_FLUSH

#define _DN_FLUSH   0x01000000

Definition at line 162 of file float.h.

◆ _DN_FLUSH_OPERANDS_SAVE_RESULTS

#define _DN_FLUSH_OPERANDS_SAVE_RESULTS   0x02000000

Definition at line 163 of file float.h.

◆ _DN_SAVE

#define _DN_SAVE   0x00000000

Definition at line 161 of file float.h.

◆ _DN_SAVE_OPERANDS_FLUSH_RESULTS

#define _DN_SAVE_OPERANDS_FLUSH_RESULTS   0x03000000

Definition at line 164 of file float.h.

◆ _EM_AMBIGUIOUS

#define _EM_AMBIGUIOUS   0x80000000

Definition at line 131 of file float.h.

◆ _EM_AMBIGUOUS

#define _EM_AMBIGUOUS   0x80000000

Definition at line 132 of file float.h.

◆ _EM_DENORMAL

#define _EM_DENORMAL   0x00080000

Definition at line 141 of file float.h.

◆ _EM_INEXACT

#define _EM_INEXACT   0x00000001

Definition at line 136 of file float.h.

◆ _EM_INVALID

#define _EM_INVALID   0x00000010

Definition at line 140 of file float.h.

◆ _EM_OVERFLOW

#define _EM_OVERFLOW   0x00000004

Definition at line 138 of file float.h.

◆ _EM_UNDERFLOW

#define _EM_UNDERFLOW   0x00000002

Definition at line 137 of file float.h.

◆ _EM_ZERODIVIDE

#define _EM_ZERODIVIDE   0x00000008

Definition at line 139 of file float.h.

◆ _FPCLASS_ND

#define _FPCLASS_ND   0x0010

Definition at line 201 of file float.h.

◆ _FPCLASS_NINF

#define _FPCLASS_NINF   0x0004

Definition at line 199 of file float.h.

◆ _FPCLASS_NN

#define _FPCLASS_NN   0x0008

Definition at line 200 of file float.h.

◆ _FPCLASS_NZ

#define _FPCLASS_NZ   0x0020

Definition at line 202 of file float.h.

◆ _FPCLASS_PD

#define _FPCLASS_PD   0x0080

Definition at line 204 of file float.h.

◆ _FPCLASS_PINF

#define _FPCLASS_PINF   0x0200

Definition at line 206 of file float.h.

◆ _FPCLASS_PN

#define _FPCLASS_PN   0x0100

Definition at line 205 of file float.h.

◆ _FPCLASS_PZ

#define _FPCLASS_PZ   0x0040

Definition at line 203 of file float.h.

◆ _FPCLASS_QNAN

#define _FPCLASS_QNAN   0x0002

Definition at line 198 of file float.h.

◆ _FPCLASS_SNAN

#define _FPCLASS_SNAN   0x0001

Definition at line 197 of file float.h.

◆ _FPE_DENORMAL

#define _FPE_DENORMAL   0x82

Definition at line 178 of file float.h.

◆ _FPE_EXPLICITGEN

#define _FPE_EXPLICITGEN   0x8c

Definition at line 189 of file float.h.

◆ _FPE_INEXACT

#define _FPE_INEXACT   0x86

Definition at line 182 of file float.h.

◆ _FPE_INVALID

#define _FPE_INVALID   0x81

Definition at line 177 of file float.h.

◆ _FPE_MULTIPLE_FAULTS

#define _FPE_MULTIPLE_FAULTS   0x8e

Definition at line 193 of file float.h.

◆ _FPE_MULTIPLE_TRAPS

#define _FPE_MULTIPLE_TRAPS   0x8d

Definition at line 192 of file float.h.

◆ _FPE_OVERFLOW

#define _FPE_OVERFLOW   0x84

Definition at line 180 of file float.h.

◆ _FPE_SQRTNEG

#define _FPE_SQRTNEG   0x88

Definition at line 185 of file float.h.

◆ _FPE_STACKOVERFLOW

#define _FPE_STACKOVERFLOW   0x8a

Definition at line 186 of file float.h.

◆ _FPE_STACKUNDERFLOW

#define _FPE_STACKUNDERFLOW   0x8b

Definition at line 187 of file float.h.

◆ _FPE_UNDERFLOW

#define _FPE_UNDERFLOW   0x85

Definition at line 181 of file float.h.

◆ _FPE_UNEMULATED

#define _FPE_UNEMULATED   0x87

Definition at line 184 of file float.h.

◆ _FPE_ZERODIVIDE

#define _FPE_ZERODIVIDE   0x83

Definition at line 179 of file float.h.

◆ _fpecode

#define _fpecode   (*__fpecode())

Definition at line 296 of file float.h.

◆ _IC_AFFINE

#define _IC_AFFINE   0x00040000

Definition at line 156 of file float.h.

◆ _IC_PROJECTIVE

#define _IC_PROJECTIVE   0x00000000

Definition at line 157 of file float.h.

◆ _INC_FLOAT

#define _INC_FLOAT

Definition at line 11 of file float.h.

◆ _LDBL_RADIX

#define _LDBL_RADIX   _DBL_RADIX

Definition at line 111 of file float.h.

◆ _LDBL_ROUNDS

#define _LDBL_ROUNDS   _DBL_ROUNDS

Definition at line 303 of file float.h.

◆ _MCW_DN

#define _MCW_DN   0x03000000

Definition at line 160 of file float.h.

◆ _MCW_EM

#define _MCW_EM   0x0008001f

Definition at line 135 of file float.h.

◆ _MCW_IC

#define _MCW_IC   0x00040000

Definition at line 155 of file float.h.

◆ _MCW_PC

#define _MCW_PC   0x00030000

Definition at line 150 of file float.h.

◆ _MCW_RC

#define _MCW_RC   0x00000300

Definition at line 143 of file float.h.

◆ _PC_24

#define _PC_24   0x00020000

Definition at line 153 of file float.h.

◆ _PC_53

#define _PC_53   0x00010000

Definition at line 152 of file float.h.

◆ _PC_64

#define _PC_64   0x00000000

Definition at line 151 of file float.h.

◆ _RC_CHOP

#define _RC_CHOP   0x00000300

Definition at line 147 of file float.h.

◆ _RC_DOWN

#define _RC_DOWN   0x00000100

Definition at line 145 of file float.h.

◆ _RC_NEAR

#define _RC_NEAR   0x00000000

Definition at line 144 of file float.h.

◆ _RC_UP

#define _RC_UP   0x00000200

Definition at line 146 of file float.h.

◆ _status87

#define _status87   _statusfp

Definition at line 274 of file float.h.

◆ _SW_DENORMAL

#define _SW_DENORMAL   0x00080000

Definition at line 128 of file float.h.

◆ _SW_INEXACT

#define _SW_INEXACT   0x00000001

Definition at line 123 of file float.h.

◆ _SW_INVALID

#define _SW_INVALID   0x00000010

Definition at line 127 of file float.h.

◆ _SW_OVERFLOW

#define _SW_OVERFLOW   0x00000004

Definition at line 125 of file float.h.

◆ _SW_SQRTNEG

#define _SW_SQRTNEG   0x0080

Definition at line 170 of file float.h.

◆ _SW_STACKOVERFLOW

#define _SW_STACKOVERFLOW   0x0200

Definition at line 171 of file float.h.

◆ _SW_STACKUNDERFLOW

#define _SW_STACKUNDERFLOW   0x0400

Definition at line 172 of file float.h.

◆ _SW_UNDERFLOW

#define _SW_UNDERFLOW   0x00000002

Definition at line 124 of file float.h.

◆ _SW_UNEMULATED

#define _SW_UNEMULATED   0x0040

Definition at line 169 of file float.h.

◆ _SW_ZERODIVIDE

#define _SW_ZERODIVIDE   0x00000008

Definition at line 126 of file float.h.

◆ DBL_DECIMAL_DIG

#define DBL_DECIMAL_DIG   17

Definition at line 71 of file float.h.

◆ DBL_DIG

#define DBL_DIG   15

Definition at line 72 of file float.h.

◆ DBL_EPSILON

#define DBL_EPSILON   2.2204460492503131e-016

Definition at line 73 of file float.h.

◆ DBL_HAS_SUBNORM

#define DBL_HAS_SUBNORM   1

Definition at line 74 of file float.h.

◆ DBL_MANT_DIG

#define DBL_MANT_DIG   53

Definition at line 75 of file float.h.

◆ DBL_MAX

#define DBL_MAX   1.7976931348623158e+308

Definition at line 76 of file float.h.

◆ DBL_MAX_10_EXP

#define DBL_MAX_10_EXP   308

Definition at line 77 of file float.h.

◆ DBL_MAX_EXP

#define DBL_MAX_EXP   1024

Definition at line 78 of file float.h.

◆ DBL_MIN

#define DBL_MIN   2.2250738585072014e-308

Definition at line 79 of file float.h.

◆ DBL_MIN_10_EXP

#define DBL_MIN_10_EXP   (-307)

Definition at line 80 of file float.h.

◆ DBL_MIN_EXP

#define DBL_MIN_EXP   (-1021)

Definition at line 81 of file float.h.

◆ DBL_TRUE_MIN

#define DBL_TRUE_MIN   4.9406564584124654e-324

Definition at line 83 of file float.h.

◆ DECIMAL_DIG

#define DECIMAL_DIG   DBL_DECIMAL_DIG

Definition at line 114 of file float.h.

◆ FLT_DECIMAL_DIG

#define FLT_DECIMAL_DIG   9

Definition at line 85 of file float.h.

◆ FLT_DIG

#define FLT_DIG   6

Definition at line 86 of file float.h.

◆ FLT_EPSILON

#define FLT_EPSILON   1.192092896e-07F

Definition at line 87 of file float.h.

◆ FLT_EVAL_METHOD

#define FLT_EVAL_METHOD   0

Definition at line 60 of file float.h.

◆ FLT_GUARD

#define FLT_GUARD   0

Definition at line 89 of file float.h.

◆ FLT_HAS_SUBNORM

#define FLT_HAS_SUBNORM   1

Definition at line 88 of file float.h.

◆ FLT_MANT_DIG

#define FLT_MANT_DIG   24

Definition at line 90 of file float.h.

◆ FLT_MAX

#define FLT_MAX   3.402823466e+38F

Definition at line 91 of file float.h.

◆ FLT_MAX_10_EXP

#define FLT_MAX_10_EXP   38

Definition at line 92 of file float.h.

◆ FLT_MAX_EXP

#define FLT_MAX_EXP   128

Definition at line 93 of file float.h.

◆ FLT_MIN

#define FLT_MIN   1.175494351e-38F

Definition at line 94 of file float.h.

◆ FLT_MIN_10_EXP

#define FLT_MIN_10_EXP   (-37)

Definition at line 95 of file float.h.

◆ FLT_MIN_EXP

#define FLT_MIN_EXP   (-125)

Definition at line 96 of file float.h.

◆ FLT_NORMALIZE

#define FLT_NORMALIZE   0

Definition at line 97 of file float.h.

◆ FLT_RADIX

#define FLT_RADIX   2

Definition at line 98 of file float.h.

◆ FLT_ROUNDS

#define FLT_ROUNDS   (__fpe_flt_rounds())

Definition at line 301 of file float.h.

◆ FLT_TRUE_MIN

#define FLT_TRUE_MIN   1.401298464e-45F

Definition at line 99 of file float.h.

◆ LDBL_DIG

#define LDBL_DIG   DBL_DIG

Definition at line 101 of file float.h.

◆ LDBL_EPSILON

#define LDBL_EPSILON   DBL_EPSILON

Definition at line 102 of file float.h.

◆ LDBL_HAS_SUBNORM

#define LDBL_HAS_SUBNORM   DBL_HAS_SUBNORM

Definition at line 103 of file float.h.

◆ LDBL_MANT_DIG

#define LDBL_MANT_DIG   DBL_MANT_DIG

Definition at line 104 of file float.h.

◆ LDBL_MAX

#define LDBL_MAX   DBL_MAX

Definition at line 105 of file float.h.

◆ LDBL_MAX_10_EXP

#define LDBL_MAX_10_EXP   DBL_MAX_10_EXP

Definition at line 106 of file float.h.

◆ LDBL_MAX_EXP

#define LDBL_MAX_EXP   DBL_MAX_EXP

Definition at line 107 of file float.h.

◆ LDBL_MIN

#define LDBL_MIN   DBL_MIN

Definition at line 108 of file float.h.

◆ LDBL_MIN_10_EXP

#define LDBL_MIN_10_EXP   DBL_MIN_10_EXP

Definition at line 109 of file float.h.

◆ LDBL_MIN_EXP

#define LDBL_MIN_EXP   DBL_MIN_EXP

Definition at line 110 of file float.h.

◆ LDBL_TRUE_MIN

#define LDBL_TRUE_MIN   DBL_TRUE_MIN

Definition at line 112 of file float.h.

Function Documentation

◆ __fpe_flt_rounds()

_Check_return_ _ACRTIMP int __cdecl __fpe_flt_rounds ( void  )

Referenced by test___fpe_flt_rounds().

◆ __fpecode()

Definition at line 16 of file fpecode.c.

17{
18 return &msvcrt_get_thread_data()->fpecode;
19}
thread_data_t * msvcrt_get_thread_data(void)
Definition: tls.c:31

◆ _chgsign()

◆ _clearfp()

Definition at line 11 of file _clearfp.c.

12{
13 unsigned int retval;
14
15 /* Get current status value */
16 retval = _statusfp();
17
18 /* Clear the exception mask */
20
21 /* Return the previous state */
22 return retval;
23}
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _statusfp(void)
Definition: _statusfp.c:11
int retval
Definition: wcstombs.cpp:91
void _mm_setcsr(unsigned int a)
Definition: xmmintrin.h:542
#define _MM_EXCEPT_MASK
Definition: xmmintrin.h:93
unsigned int _mm_getcsr(void)
Definition: xmmintrin.h:535

◆ _control87()

◆ _controlfp_s()

◆ _copysign()

_Check_return_ _ACRTIMP double __cdecl _copysign ( _In_ double  _Number,
_In_ double  _Sign 
)

◆ _CRT_INSECURE_DEPRECATE()

_CRT_MANAGED_FP_DEPRECATE _CRT_INSECURE_DEPRECATE ( _controlfp_s  )

◆ _finite()

Definition at line 14 of file _finite.c.

15{
16 union { double f; uint64_t ui64; } u = { _X };
17 uint64_t exp = u.ui64 & 0x7FF0000000000000;
18 return (exp != 0x7FF0000000000000);
19}
#define _X(x)
Definition: CPath.cpp:42
UINT64 uint64_t
Definition: types.h:77
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
#define f
Definition: ke_i.h:83
DWORD exp
Definition: msg.c:16058

◆ _fpclass()

◆ _fpreset()

Definition at line 10 of file _fpreset.c.

11{
12 /* Mask everything */
14}
#define _MM_MASK_MASK
Definition: xmmintrin.h:101

◆ _isnan()

Definition at line 13 of file _isnan.c.

14{
15 union { double f; uint64_t ui64; } u = { _X };
16 return (u.ui64 & ~0x8000000000000000ull) > 0x7FF0000000000000ull;
17}

◆ _logb()

◆ _nextafter()

_Check_return_ _ACRTIMP double __cdecl _nextafter ( _In_ double  _X,
_In_ double  _Y 
)

◆ _scalb()

◆ _set_controlfp()

_CRT_MANAGED_FP_DEPRECATE _ACRTIMP void __cdecl _set_controlfp ( _In_ unsigned int  _NewValue,
_In_ unsigned int  _Mask 
)

◆ _statusfp()

Definition at line 11 of file _statusfp.c.

12{
13 unsigned int mxcsr, status = 0;
14
15 /* Get MXCSR */
16 mxcsr = _mm_getcsr();
17
18 /* Convert to abstract status flags */
19 if (mxcsr & _MM_EXCEPT_INVALID)
21 if (mxcsr & _MM_EXCEPT_DENORM)
23 if (mxcsr & _MM_EXCEPT_DIV_ZERO)
25 if (mxcsr & _MM_EXCEPT_OVERFLOW)
27 if (mxcsr & _MM_EXCEPT_UNDERFLOW)
29 if (mxcsr & _MM_EXCEPT_INEXACT)
31
32 return status;
33}
#define _SW_INEXACT
Definition: float.h:85
#define _SW_OVERFLOW
Definition: float.h:87
#define _SW_DENORMAL
Definition: float.h:90
#define _SW_ZERODIVIDE
Definition: float.h:88
#define _SW_UNDERFLOW
Definition: float.h:86
#define _SW_INVALID
Definition: float.h:89
Definition: ps.c:97
#define _MM_EXCEPT_DIV_ZERO
Definition: xmmintrin.h:96
#define _MM_EXCEPT_UNDERFLOW
Definition: xmmintrin.h:98
#define _MM_EXCEPT_INEXACT
Definition: xmmintrin.h:99
#define _MM_EXCEPT_OVERFLOW
Definition: xmmintrin.h:97
#define _MM_EXCEPT_INVALID
Definition: xmmintrin.h:94
#define _MM_EXCEPT_DENORM
Definition: xmmintrin.h:95

Variable Documentation

◆ _Mask