_statusfp()

Defined in float.h, this function is provided for compatibility with Microsoft products. It returns the current value of the exception sticky flags. You can use the _controlfp() argument macros, for example _EM_INVALID and _EM_ZERODIVIDE, to test bits of the returned result.

The function prototype for _statusfp() is:

unsigned _statusfp(void);

Note

This function requires a floating-point model that supports exceptions. In ARM Compiler 6 this is enabled by default, and is disabled by armclang command-line options such as -ffast-math.

Show/hideSee also

Tasks

ARM C and C++ Libraries and Floating-Point Support User Guide:

Reference
Copyright © 2014 ARM. All rights reserved.ARM DUI 0809B
Non-ConfidentialID121814