summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-27 16:18:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-27 16:18:05 +0900
commit50520cc1930331bccdb94730e17ddc01798f2be0 (patch)
tree667599a298d4c5af429cbdfe8a5fc6825826bb0c /numeric.c
parent262a0cc8682cdcb58c28e2a9c64a984ac9171fed (diff)
[DOC] Missing comment markers
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/numeric.c b/numeric.c
index 82fac8320f..82967502e6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -999,7 +999,7 @@ num_negative_p(VALUE num)
* - #/: Returns the quotient of +self+ and the given value.
* - #ceil: Returns the smallest number greater than or equal to +self+.
* - #coerce: Returns a 2-element array containing the given value converted to a \Float
- and +self+
+ * and +self+
* - #divmod: Returns a 2-element array containing the quotient and remainder
* results of dividing +self+ by the given value.
* - #fdiv: Returns the \Float result of dividing +self+ by the given value.
@@ -1683,12 +1683,12 @@ rb_dbl_cmp(double a, double b)
* Examples:
*
* 2.0 <=> 2 # => 0
- 2.0 <=> 2.0 # => 0
- 2.0 <=> Rational(2, 1) # => 0
- 2.0 <=> Complex(2, 0) # => 0
- 2.0 <=> 1.9 # => 1
- 2.0 <=> 2.1 # => -1
- 2.0 <=> 'foo' # => nil
+ * 2.0 <=> 2.0 # => 0
+ * 2.0 <=> Rational(2, 1) # => 0
+ * 2.0 <=> Complex(2, 0) # => 0
+ * 2.0 <=> 1.9 # => 1
+ * 2.0 <=> 2.1 # => -1
+ * 2.0 <=> 'foo' # => nil
*
* This is the basis for the tests in the Comparable module.
*