Jump to main content
AVR Libc AVRLibc
Index
Search
Home
2
Library Reference
AVR Libc Library Reference
2
<math.h>: Mathematics
2.2
Defines
AVRLibc
AVR Libc
1
User Manual
2
Library Reference
AVR Libc Library Reference
2
<alloca.h>: Allocate space in the stack
2
<assert.h>: Diagnostics
2
<avr/boot.h>: Bootloader Support Utilities
2
<avr/cpufunc.h>: Special AVR CPU functions
2
<avr/eeprom.h>: EEPROM handling
2
<avr/fuse.h>: Fuse Support
2
<avr/interrupt.h>: Interrupts
2
<avr/io.h>: AVR device-specific IO definitions
2
<avr/lock.h>: Lockbit Support
2
<avr/pgmspace.h>: Program Space Utilities
2
<avr/power.h>: Power Reduction Management
2
<avr/sfr_defs.h>: Special function registers
2
<avr/signature.h>: Signature Support
2
<avr/sleep.h>: Power Management and Sleep Modes
2
<avr/version.h>: avr-libc version macros
2
<avr/wdt.h>: Watchdog timer handling
2
<compat/deprecated.h>: Deprecated items
2
<compat/ina90.h>: Compatibility with IAR EWB 3.x
2
<ctype.h>: Character Operations
2
<errno.h>: System Errors
2
<inttypes.h>: Integer Type conversions
2
<math.h>: Mathematics
2.1
Functions
2.2
Defines
2.2.1
M_E
2.2.2
M_LOG2E
2.2.3
M_LOG10E
2.2.4
M_LN2
2.2.5
M_LN10
2.2.6
M_PI
2.2.7
M_PI_2
2.2.8
M_PI_4
2.2.9
M_1_PI
2.2.10
M_2_PI
2.2.11
M_2_SQRTPI
2.2.12
M_SQRT2
2.2.13
M_SQRT1_2
2.2.14
NAN
2.2.15
INFINITY
2.2.16
cosf
2.2.17
sinf
2.2.18
tanf
2.2.19
fabsf
2.2.20
fmodf
2.2.21
cbrtf
2.2.22
hypotf
2.2.23
squaref
2.2.24
floorf
2.2.25
ceilf
2.2.26
frexpf
2.2.27
ldexpf
2.2.28
expf
2.2.29
coshf
2.2.30
sinhf
2.2.31
tanhf
2.2.32
acosf
2.2.33
asinf
2.2.34
atanf
2.2.35
atan2f
2.2.36
logf
2.2.37
log10f
2.2.38
powf
2.2.39
isnanf
2.2.40
isinff
2.2.41
isfinitef
2.2.42
copysignf
2.2.43
signbitf
2.2.44
fdimf
2.2.45
fmaf
2.2.46
fmaxf
2.2.47
fminf
2.2.48
truncf
2.2.49
roundf
2.2.50
lroundf
2.2.51
lrintf
2
<setjmp.h>: Non-local goto
2
<stdint.h>: Standard Integer Types
2
<stdio.h>: Standard IO facilities
2
<stdlib.h>: General utilities
2
<string.h>: Strings
2
<time.h>: Time
2
<util/atomic.h> Atomically and Non-Atomically Executed Code Blocks
2
<util/crc16.h>: CRC Computations
2
<util/delay.h>: Convenience functions for busy-wait delay loops
2
<util/delay_basic.h>: Basic busy-wait delay loops
2
<util/parity.h>: Parity bit generation
2
<util/setbaud.h>: Helper macros for baud rate calculations
2
<util/twi.h>: TWI bit mask definitions
2.1
Structures
3
Example Projects
4
Files
2.2 Defines