Austin Brown
/
ESCmk2_Inductance
Inductance Testing Code
Fork of CurrentModeSine by
math_ops/math_ops.h@1:64b881306f6f, 2018-10-11 (annotated)
- Committer:
- austinbrown124
- Date:
- Thu Oct 11 04:13:45 2018 +0000
- Revision:
- 1:64b881306f6f
- Parent:
- 0:9edd6ec0f56a
DINGBAT
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
austinbrown124 | 0:9edd6ec0f56a | 1 | #ifndef MATH_OPS_H |
austinbrown124 | 0:9edd6ec0f56a | 2 | #define MATH_OPS_H |
austinbrown124 | 0:9edd6ec0f56a | 3 | |
austinbrown124 | 0:9edd6ec0f56a | 4 | #define PI 3.14159265359f |
austinbrown124 | 0:9edd6ec0f56a | 5 | |
austinbrown124 | 0:9edd6ec0f56a | 6 | #include "math.h" |
austinbrown124 | 0:9edd6ec0f56a | 7 | |
austinbrown124 | 0:9edd6ec0f56a | 8 | float fmaxf(float x, float y); |
austinbrown124 | 0:9edd6ec0f56a | 9 | float fminf(float x, float y); |
austinbrown124 | 0:9edd6ec0f56a | 10 | float fmaxf3(float x, float y, float z); |
austinbrown124 | 0:9edd6ec0f56a | 11 | float fminf3(float x, float y, float z); |
austinbrown124 | 0:9edd6ec0f56a | 12 | void limit_norm(float *x, float *y, float limit); |
austinbrown124 | 1:64b881306f6f | 13 | void limit_abs(float *x, float limit); |
austinbrown124 | 0:9edd6ec0f56a | 14 | |
austinbrown124 | 0:9edd6ec0f56a | 15 | #endif |