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 29