<math.h>: Mathematics

This header file declares basic mathematics constants and functions.

Notes:
  • In order to access the functions declared herein, it is usually also required to additionally link against the library libm.a. See also the related FAQ entry.

  • Math functions do not raise exceptions and do not change the errno variable. Therefore the majority of them are declared with const attribute, for better optimization by GCC.