ReactOS  0.4.15-dev-3175-g222acf5
clearfp.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS system libraries
4  * FILE: lib/sdk/crt/float/i386/clearfp.c
5  * PURPOSE: Unknown
6  * PROGRAMER: Unknown
7  * UPDATE HISTORY:
8  * 25/11/05: Added license header
9  */
10 
11 #include <precomp.h>
12 
13 unsigned int _statusfp( void );
14 
15 /*********************************************************************
16  * _clearfp (MSVCRT.@)
17  */
18 unsigned int CDECL _clearfp(void)
19 {
20  unsigned int retVal = _statusfp();
21 #if defined(__GNUC__)
22  __asm__ __volatile__( "fnclex" );
23 #else
24  __asm fnclex;
25 #endif
26  return retVal;
27 }
28 
unsigned int CDECL _clearfp(void)
Definition: clearfp.c:18
__asm__("\n\t \ NewInt3Handler:\n\t \ pushl $" STR(REASON_INT3) "\n\t \ // call debugger loop\n\t \ jmp NewInt31Handler\n\t \ ")
unsigned int _statusfp(void)
Definition: _statusfp.c:10
#define CDECL
Definition: compat.h:29