ReactOS  0.4.15-dev-5499-g1341c38
fpscr.h File Reference
#include <float.h>
Include dependency graph for fpscr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _ARM_FPSCR
 

Macros

#define ARM_CW_STATUS_MASK   0x9F
 
#define ARM_CW_IM   (1 << 0) /* Invalid operation mask */
 
#define ARM_CW_ZM   (1 << 1) /* Zero divide mask */
 
#define ARM_CW_OM   (1 << 2) /* Overflow mask */
 
#define ARM_CW_UM   (1 << 3) /* Underflow mask */
 
#define ARM_CW_PM   (1 << 4) /* Precision mask */
 
#define ARM_CW_DM   (1 << 7) /* Denormal operand mask */
 
#define ARM_CW_RC_NEAREST   0 /* round to nearest */
 
#define ARM_CW_RC_UP   1 /* round up */
 
#define ARM_CW_RC_DOWN   2 /* round down */
 
#define ARM_CW_RC_ZERO   3 /* round toward zero (chop) */
 

Typedefs

typedef union _ARM_FPSCR ARM_FPSCR
 

Functions

void __setfp (unsigned int)
 
unsigned int __getfp (void)
 

Macro Definition Documentation

◆ ARM_CW_DM

#define ARM_CW_DM   (1 << 7) /* Denormal operand mask */

Definition at line 16 of file fpscr.h.

◆ ARM_CW_IM

#define ARM_CW_IM   (1 << 0) /* Invalid operation mask */

Definition at line 11 of file fpscr.h.

◆ ARM_CW_OM

#define ARM_CW_OM   (1 << 2) /* Overflow mask */

Definition at line 13 of file fpscr.h.

◆ ARM_CW_PM

#define ARM_CW_PM   (1 << 4) /* Precision mask */

Definition at line 15 of file fpscr.h.

◆ ARM_CW_RC_DOWN

#define ARM_CW_RC_DOWN   2 /* round down */

Definition at line 20 of file fpscr.h.

◆ ARM_CW_RC_NEAREST

#define ARM_CW_RC_NEAREST   0 /* round to nearest */

Definition at line 18 of file fpscr.h.

◆ ARM_CW_RC_UP

#define ARM_CW_RC_UP   1 /* round up */

Definition at line 19 of file fpscr.h.

◆ ARM_CW_RC_ZERO

#define ARM_CW_RC_ZERO   3 /* round toward zero (chop) */

Definition at line 21 of file fpscr.h.

◆ ARM_CW_STATUS_MASK

#define ARM_CW_STATUS_MASK   0x9F

Definition at line 10 of file fpscr.h.

◆ ARM_CW_UM

#define ARM_CW_UM   (1 << 3) /* Underflow mask */

Definition at line 14 of file fpscr.h.

◆ ARM_CW_ZM

#define ARM_CW_ZM   (1 << 1) /* Zero divide mask */

Definition at line 12 of file fpscr.h.

Typedef Documentation

◆ ARM_FPSCR

typedef union _ARM_FPSCR ARM_FPSCR

Function Documentation

◆ __getfp()

unsigned int __getfp ( void  )

Referenced by _clearfp(), _control87(), and _statusfp().

◆ __setfp()

void __setfp ( unsigned int  )

Referenced by _clearfp(), _control87(), and _fpreset().