avr-libc: <math.h>: Mathematics

avr-libc 2.0.0 Standard C library for AVR-GCC |

## AVR Libc Home Page |  | ## AVR Libc Development Pages
## Main Page | ## User Manual | ## Library Reference | ## FAQ | ## Example Projects

Macros
<math.h>: Mathematics

## Macros
#define | M_E 2.7182818284590452354

## Detailed Description

#include <math.h>

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.

## Macro Definition Documentation

## ◆ M_E

#define M_E 2.7182818284590452354

The constant e.

math.h