ReactOS 0.4.15-dev-7958-gcd0bb1a
_clearfp.c File Reference
#include "fpscr.h"
Include dependency graph for _clearfp.c:

Go to the source code of this file.

Functions

unsigned int _clearfp (void)
 

Function Documentation

◆ _clearfp()

unsigned int _clearfp ( void  )

Definition at line 10 of file _clearfp.c.

11{
12 ARM_FPSCR fpscr;
13 unsigned int status;
14
15 fpscr.raw = __getfp();
16 status = _statusfp();
17
18 fpscr.data.exception = fpscr.data.exception & ~ARM_CW_STATUS_MASK;
19
20 __setfp(fpscr.raw);
21 return status;
22}
void __setfp(unsigned int)
unsigned int __getfp(void)
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _statusfp(void)
Definition: _statusfp.c:11
Definition: ps.c:97
struct _ARM_FPSCR::@4305 data
unsigned int raw
Definition: fpscr.h:25