C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
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. SyntaxSuppose a number is 'x'. Syntax would be: bool isnormal(float x); bool isnormal(double x); bool isnormal(long double x); bool isnormal(integral x); Parameterx: It is a floating point value. Return value
Example 1Let's see the simple example. #include Output: isnormal(5) is : 1 isnormal(5.0/0.0) is : 0 isnormal(0.0/0.0) is : 0
Next TopicC++ Math Functions
|