Share via


Required Floating Point C Run-Time Library Functions

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This topic lists the floating point C run-time functions that you must include when implementing a replacement floating point C run-time library. For more information about these functions, see Floating-Point Support.

Programming Element Description

unsigned int _clearfp(void)

Gets and clears the floating-point status word.

unsigned int _controlfp (unsigned int, unsigned int)

Gets and sets the floating-point status word.

int _fpieee_flt(__in unsigned long _ExceptionCode, __in struct _EXCEPTION_POINTERS* _PtExceptionPtr, __in int (*_Handler)(_FPIEEE_RECORD*))

Invokes an user-defined trap handlet for IEEE floating-point exceptions.

void _fpreset(void)

Resets the floating-point package.

double _frnd(__in double _X)

Rounds a floating point value to an integer value using the current rounding mode.

unsigned int _statusfp (void)

Gets the floating point status word.

See Also

Concepts

Floating Point C Run-Time Functions