FastLED 3.9.15
Loading...
Searching...
No Matches
math_macros.h File Reference
+ Include dependency graph for math_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 IMPORTANT!
 

Macros

#define ABS(x)
 
#define ALMOST_EQUAL(a, b, small)
 
#define ALMOST_EQUAL_DOUBLE(a, b)
 
#define ALMOST_EQUAL_EPSILON(a, b, epsilon)
 
#define ALMOST_EQUAL_FLOAT(a, b)
 
#define EPSILON_D   2.2204460492503131e-16
 
#define EPSILON_F   1.19209290e-07F
 
#define FLT_MAX   3.402823466e+38F
 
#define INFINITY_DOUBLE   (1.0 / 0.0)
 
#define INFINITY_FLOAT   (1.0f / 0.0f)
 
#define M_PI   PI
 
#define MAX(a, b)
 
#define MIN(a, b)
 
#define PI   3.1415926535897932384626433832795
 

Functions

template<typename T>
fl::fl_abs (T value)
 
FL_DISABLE_WARNING_PUSH fl::FL_DISABLE_WARNING (sign-compare) FL_DISABLE_WARNING_FLOAT_CONVERSION FL_DISABLE_WARNING_SIGN_CONVERSION FL_DISABLE_WARNING_IMPLICIT_INT_CONVERSION FL_DISABLE_WARNING_FLOAT_CONVERSION template< typename T
 
template<typename T, typename U>
common_type_t< T, U > fl::fl_max (T a, U b)
 
FL_DISABLE_WARNING_PUSH U common_type_t< T, U > fl::fl_min (T a, U b)