HUGE_VALL - C math.h

C examples for math.h:HUGE_VALL

Type

Macro

From

<cmath>
<ctgmath>
<math.h>

Description

Huge long double value

Macro constant that expands to a positive expression of type long double.

A function returns this value when the result is too large in magnitude to be representable with its return type.

Demo Code


#include <stdio.h>
#include <math.h>

int main()//  ww w. j  av  a 2 s .c o  m
{
    printf("%f",HUGE_VALL);
    return 0;
}

Related Tutorials