hh
math_ops.h@20:bf9ea5125d52, 2017-03-02 (annotated)
- Committer:
- benkatz
- Date:
- Thu Mar 02 15:31:23 2017 +0000
- Revision:
- 20:bf9ea5125d52
- Child:
- 26:2b865c00d7e9
Compact version works.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 20:bf9ea5125d52 | 1 | #ifndef MATH_OPS_H |
benkatz | 20:bf9ea5125d52 | 2 | #define MATH_OPS_H |
benkatz | 20:bf9ea5125d52 | 3 | |
benkatz | 20:bf9ea5125d52 | 4 | #define PI 3.14159265359f |
benkatz | 20:bf9ea5125d52 | 5 | |
benkatz | 20:bf9ea5125d52 | 6 | #include "math.h" |
benkatz | 20:bf9ea5125d52 | 7 | |
benkatz | 20:bf9ea5125d52 | 8 | float fmaxf(float x, float y); |
benkatz | 20:bf9ea5125d52 | 9 | float fminf(float x, float y); |
benkatz | 20:bf9ea5125d52 | 10 | float fmaxf3(float x, float y, float z); |
benkatz | 20:bf9ea5125d52 | 11 | float fminf3(float x, float y, float z); |
benkatz | 20:bf9ea5125d52 | 12 | void limit_norm(float *x, float *y, float limit); |
benkatz | 20:bf9ea5125d52 | 13 | |
benkatz | 20:bf9ea5125d52 | 14 | #endif |