_statusfp()

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

The function prototype for _statusfp() is:

unsigned _statusfp(void);

Note

This function requires you to select a floating-point model that supports exceptions. For example, --fpmode=ieee_full or --fpmode=ieee_fixed.

Show/hideSee also

Tasks

Using ARM® C and C++ Libraries and Floating-Point Support:

Reference
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0492C
Non-ConfidentialID080411