Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | pmbaty | 1 | #include "brmath.h" |
2 | #include "harness/trace.h" |
||
3 | #include <math.h> |
||
4 | |||
5 | float BrFloatFloor(float f) { |
||
6 | return floorf(f); |
||
7 | } |
||
8 | |||
9 | float BrFloatCeil(float f) { |
||
10 | return ceilf(f); |
||
11 | } |
||
12 | |||
13 | float BrFloatSqrt(float f) { |
||
14 | return sqrtf(f); |
||
15 | } |
||
16 | |||
17 | float BrFloatPow(float a, float b) { |
||
18 | return powf(a, b); |
||
19 | } |
||
20 | |||
21 | float BrFloatAtan2(float x, float y) { |
||
22 | return atan2f(x, y); |
||
23 | } |