FastLED 3.9.3
Loading...
Searching...
No Matches
math_macros.h
1#pragma once
2
3#ifndef MAX
4#define MAX(a,b) ((a)>(b)?(a):(b))
5#endif
6
7#ifndef MIN
8#define MIN(a,b) ((a)<(b)?(a):(b))
9#endif
10
11#ifndef ABS
12#define ABS(x) ((x)>0?(x):-(x))
13#endif
14
15#ifndef PI
16#define PI 3.1415926535897932384626433832795
17#endif