summaryrefslogtreecommitdiffhomepage
path: root/src/math.c
diff options
context:
space:
mode:
authorPaolo Bosetti <[email protected]>2012-05-12 12:36:19 -0700
committerPaolo Bosetti <[email protected]>2012-05-12 12:36:19 -0700
commite274382aca7df19876abe83cb8ef7ad0e07153cb (patch)
tree4225e7efbd0664940a15d612abe2aef7d0b63167 /src/math.c
parent7864eab43b9f94e02c951412e36f1be63028d9b8 (diff)
downloadmruby-e274382aca7df19876abe83cb8ef7ad0e07153cb.tar.gz
mruby-e274382aca7df19876abe83cb8ef7ad0e07153cb.zip
Replaced C++ style comments
Diffstat (limited to 'src/math.c')
-rw-r--r--src/math.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/math.c b/src/math.c
index f58538cba..78ef95697 100644
--- a/src/math.c
+++ b/src/math.c
@@ -6,9 +6,7 @@
#include "mruby.h"
-#include <ctype.h>
#include <math.h>
-#include <stdio.h>
#if defined(__FreeBSD__) && __FreeBSD__ < 4
#include <floatingpoint.h>
@@ -670,7 +668,7 @@ math_gamma(mrb_state *mrb, mrb_value obj)
* but avoid overflow by Math.gamma(x) for large x.
*/
-// TODO: lgamma_r() is missing
+/* TODO: lgamma_r() is missing */
/*
static mrb_value
@@ -746,5 +744,5 @@ mrb_init_math(mrb_state *mrb)
mrb_define_class_method(mrb, mrb_math, "erfc", math_erfc, 1);
mrb_define_class_method(mrb, mrb_math, "gamma", math_gamma, 1);
- // mrb_define_class_method(mrb, mrb_math, "lgamma", math_lgamma, 1);
+ /* mrb_define_class_method(mrb, mrb_math, "lgamma", math_lgamma, 1); */
}