summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-14 17:10:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-14 17:10:33 -0300
commitaa5b15f2712d3b08a7716a833c6fd8032f203b8d (patch)
tree94a6bb57d201a456b54aea5c3c71c94de5c3370d
parent653416d5c06d54f8e75603f32043d328ba902b9c (diff)
downloadlua-5.0-alpha.tar.gz
lua-5.0-alpha.tar.bz2
lua-5.0-alpha.zip
-rw-r--r--lmathlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lmathlib.c b/lmathlib.c
index 0e9860ee..50a7a89f 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -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