## 1 Mathematical Functions (`math.h`) ¶

This chapter groups a wide variety of mathematical functions. The corresponding definitions and declarations are in `math.h`. The definition of HUGE_VAL from `math.h` is of particular interest.

1. The representation of infinity as a `double` is defined as `HUGE_VAL`; this number is returned on overflow by many functions. The macro `HUGE_VALF` is a corresponding value for `float`.

Alternative declarations of the mathematical functions, which exploit specific machine capabilities to operate faster—but generally have less error checking and may reflect additional limitations on some machines—are available when you include `fastmath.h` instead of `math.h`.