Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

isnormal - Macro to test for a normal value

&pagelevel(4)&pagelevel

Syntax

#include <math.h>

C11
int isnormal(x); (End)

Description

x has to be an argument of type float, double or long double.

The isnormal() macro determines whether its argument value is normal, i.e. x is normalized and not 0, Infinity or NaN.

Return val.

Value != 0

if x is normalized and does not have the values 0, +/-NaN or +/-Infinity.


0

otherwise.

See also

fpclassify, isfiniteisinf, isnan, math.h.