ReactOS
0.4.16-dev-2110-ge3521eb
_clearfp.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS CRT library
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Implementation of _clearfp
5
* COPYRIGHT: Copyright 2021 Roman Masanin <36927roma@gmail.com>
6
*/
7
8
#include "
fpscr.h
"
9
10
unsigned
int
_clearfp
(
void
)
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
}
_clearfp
unsigned int __cdecl _clearfp(void)
Definition:
_clearfp.c:11
_statusfp
_ACRTIMP unsigned int __cdecl _statusfp(void)
Definition:
math.c:1156
fpscr.h
__setfp
void __setfp(unsigned int)
__getfp
unsigned int __getfp(void)
status
Definition:
ps.c:97
_ARM_FPSCR
Definition:
fpscr.h:24
_ARM_FPSCR::raw
unsigned int raw
Definition:
fpscr.h:25
_ARM_FPSCR::data
struct _ARM_FPSCR::@4612 data
sdk
lib
crt
float
arm
_clearfp.c
Generated on Thu Jan 8 2026 06:15:17 for ReactOS by
1.9.6