summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-math/src
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-10-20 12:48:31 -0300
committerSeba Gamboa <[email protected]>2015-10-20 12:48:31 -0300
commit13b552538af9e9794398e4a4177ba1cea04cccca (patch)
treea4c682a8750401876eebc7ede793a6ca1ad70fd5 /mrbgems/mruby-math/src
parentf0e997422137e9fc92923a49465f009b2730e78d (diff)
downloadmruby-13b552538af9e9794398e4a4177ba1cea04cccca.tar.gz
mruby-13b552538af9e9794398e4a4177ba1cea04cccca.zip
Remove obvious warnings from docs
Diffstat (limited to 'mrbgems/mruby-math/src')
-rw-r--r--mrbgems/mruby-math/src/math.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c
index 8cbc2544e..a94c48c7b 100644
--- a/mrbgems/mruby-math/src/math.c
+++ b/mrbgems/mruby-math/src/math.c
@@ -236,7 +236,8 @@ math_tan(mrb_state *mrb, mrb_value obj)
* call-seq:
* Math.asin(x) -> float
*
- * Computes the arc sine of <i>x</i>. Returns -{PI/2} .. {PI/2}.
+ * Computes the arc sine of <i>x</i>.
+ * @return computed value between `-(PI/2)` and `(PI/2)`.
*/
static mrb_value
math_asin(mrb_state *mrb, mrb_value obj)
@@ -276,7 +277,7 @@ math_acos(mrb_state *mrb, mrb_value obj)
* call-seq:
* Math.atan(x) -> float
*
- * Computes the arc tangent of <i>x</i>. Returns -{PI/2} .. {PI/2}.
+ * Computes the arc tangent of <i>x</i>. Returns `-(PI/2) .. (PI/2)`.
*/
static mrb_value
math_atan(mrb_state *mrb, mrb_value obj)