Commit 2a9d5974 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

sincos: small fix to ABS macro

parent b41a65bb
......@@ -24,7 +24,7 @@
#define __SINCOS_H__
#define PI 3.14159265
#define ABS(x) (x>0?x:(-x))
#define ABS(x) (x>0?x:(-(x)))
float small_sin(int deg);
float small_cos(int deg);
int small_atan(float y, float x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment