Javatpoint Logo
Javatpoint Logo

C++ Math isnormal()

The function determines that whether the given number is normal or not. If the number is normal, it returns 1 otherwise 0.


Suppose a number is 'x'. Syntax would be:


x: It is a floating point value.

Return value

Parameter(x) Return value
Infinite 0
Normal value 1
Subnormal value 0
Not a Number 0

Example 1

Let's see the simple example.


isnormal(5) is : 1
isnormal(5.0/0.0) is : 0
isnormal(0.0/0.0) is : 0

Next TopicC++ Math Functions

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA