diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-14 17:10:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-14 17:10:33 -0300 |
commit | aa5b15f2712d3b08a7716a833c6fd8032f203b8d (patch) | |
tree | 94a6bb57d201a456b54aea5c3c71c94de5c3370d | |
parent | 653416d5c06d54f8e75603f32043d328ba902b9c (diff) | |
download | lua-5.0-alpha.tar.gz lua-5.0-alpha.tar.bz2 lua-5.0-alpha.zip |
detailv5.0-alpha
-rw-r--r-- | lmathlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmathlib.c,v 1.49 2002/08/07 20:54:38 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.50 2002/08/14 20:07:43 roberto Exp roberto $ |
3 | ** Standard mathematical library | 3 | ** Standard mathematical library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -22,9 +22,9 @@ | |||
22 | 22 | ||
23 | /* | 23 | /* |
24 | ** If you want Lua to operate in degrees (instead of radians), | 24 | ** If you want Lua to operate in degrees (instead of radians), |
25 | ** define DEGREES | 25 | ** define USE_DEGREES |
26 | */ | 26 | */ |
27 | #ifdef DEGREES | 27 | #ifdef USE_DEGREES |
28 | #define FROMRAD(a) ((a)/RADIANS_PER_DEGREE) | 28 | #define FROMRAD(a) ((a)/RADIANS_PER_DEGREE) |
29 | #define TORAD(a) ((a)*RADIANS_PER_DEGREE) | 29 | #define TORAD(a) ((a)*RADIANS_PER_DEGREE) |
30 | #else | 30 | #else |