6.4.2. Determine the type of a floating-point number (fpclassify)

This macro classifies its argument value based on type.

int fpclassify(real-floating x);

where real-floating can be type float, double, or long double.

Here, fpclassify returns one of the following values:

It does not cause any errors or exceptions.

Copyright © 2005 ARM Limited. All rights reserved.ARM DUI 0282B
Non-Confidential