branch | webgl |
changeset 8047 | 25a4daa6473c |
parent 7983 | 02f36c3e7f6c |
child 14206 | 801dc57371c3 |
8044:796f2653f21d | 8047:25a4daa6473c |
---|---|
1 #include "pmath.h" |
1 #include "pmath.h" |
2 #include <stdlib.h> |
|
2 #include <math.h> |
3 #include <math.h> |
3 #include <stdlib.h> |
|
4 #include <stdint.h> |
|
5 |
4 |
6 /* |
5 /* |
7 * power raises base to the power power. |
6 * power raises base to the power power. |
8 * This is equivalent to exp(power*ln(base)). Therefore base should be non-negative. |
7 * This is equivalent to exp(power*ln(base)). Therefore base should be non-negative. |
9 */ |
8 */ |