diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-10-22 07:10:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-10-22 07:10:16 +0900 |
| commit | 727f2485c9028cbd5eb4085e965bcaada6fb53f6 (patch) | |
| tree | b6876bcd35017746de47dc5f3949fcb72ea37c16 /mrbgems/mruby-math | |
| parent | e5fbf9dfa2bbbe5ecbf6cc25ff5d35e7da7f00e3 (diff) | |
| parent | d4238494eb7cd36c510c87ace6c31aeb1d0f1d6b (diff) | |
| download | mruby-727f2485c9028cbd5eb4085e965bcaada6fb53f6.tar.gz mruby-727f2485c9028cbd5eb4085e965bcaada6fb53f6.zip | |
Merge pull request #2999 from sagmor/better-docs
More Docs
Diffstat (limited to 'mrbgems/mruby-math')
| -rw-r--r-- | mrbgems/mruby-math/src/math.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c index 109112578..79ad18b90 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) |
