Author: akhaldi Date: Fri Mar 15 13:32:56 2013 New Revision: 58502
URL: http://svn.reactos.org/svn/reactos?rev=58502&view=rev Log: [CRT] * Annotate float.h.
Modified: trunk/reactos/include/crt/float.h
Modified: trunk/reactos/include/crt/float.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/float.h?rev=585... ============================================================================== --- trunk/reactos/include/crt/float.h [iso-8859-1] (original) +++ trunk/reactos/include/crt/float.h [iso-8859-1] Fri Mar 15 13:32:56 2013 @@ -105,9 +105,22 @@ /* Set the FPU control word as cw = (cw & ~unMask) | (unNew & unMask), * i.e. change the bits in unMask to have the values they have in unNew, * leaving other bits unchanged. */ -__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _controlfp (unsigned int unNew, unsigned int unMask); -__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _control87 (unsigned int unNew, unsigned int unMask); - + +__MINGW_NOTHROW +_CRTIMP +unsigned int +__cdecl +_controlfp( + _In_ unsigned int unNew, + _In_ unsigned int unMask); + +__MINGW_NOTHROW +_CRTIMP +unsigned int +__cdecl +_control87( + _In_ unsigned int unNew, + _In_ unsigned int unMask);
__MINGW_NOTHROW _CRTIMP unsigned int __cdecl _clearfp (void); /* Clear the FPU status word */ __MINGW_NOTHROW _CRTIMP unsigned int __cdecl _statusfp (void); /* Report the FPU status word */ @@ -136,17 +149,74 @@ * but they really belong in math.h. */
-__MINGW_NOTHROW _CRTIMP double __cdecl _chgsign (double); -__MINGW_NOTHROW _CRTIMP double __cdecl _copysign (double, double); -__MINGW_NOTHROW _CRTIMP double __cdecl _logb (double); -__MINGW_NOTHROW _CRTIMP double __cdecl _nextafter (double, double); -__MINGW_NOTHROW _CRTIMP double __cdecl _scalb (double, long); - -__MINGW_NOTHROW _CRTIMP int __cdecl _finite (double); -__MINGW_NOTHROW _CRTIMP int __cdecl _fpclass (double); -__MINGW_NOTHROW _CRTIMP int __cdecl _isnan (double); - -#ifdef __cplusplus +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +double +__cdecl +_chgsign( + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +double +__cdecl +_copysign( + _In_ double, + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +double +__cdecl +_logb( + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +double +__cdecl +_nextafter( + _In_ double, + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +double +__cdecl +_scalb( + _In_ double, + _In_ long); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +int +__cdecl +_finite( + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +int +__cdecl +_fpclass( + _In_ double); + +_Check_return_ +__MINGW_NOTHROW +_CRTIMP +int +__cdecl +_isnan( + _In_ double); + +#ifdef __cplusplus } #endif