@@ -1485,7 +1485,8 @@ BigDecimal_add(VALUE self, VALUE r)
1485
1485
return VpCheckGetValue (c );
1486
1486
}
1487
1487
1488
- /* call-seq:
1488
+ /*
1489
+ * call-seq:
1489
1490
* self - value -> bigdecimal
1490
1491
*
1491
1492
* Returns the \BigDecimal difference of +self+ and +value+:
@@ -2053,8 +2054,8 @@ BigDecimal_DoDivmod(VALUE self, VALUE r, Real **div, Real **mod)
2053
2054
}
2054
2055
2055
2056
/* call-seq:
2056
- * a % b
2057
- * a.modulo(b)
2057
+ * a % b
2058
+ * a.modulo(b)
2058
2059
*
2059
2060
* Returns the modulus from dividing by b.
2060
2061
*
@@ -2127,7 +2128,7 @@ BigDecimal_divremain(VALUE self, VALUE r, Real **dv, Real **rv)
2127
2128
}
2128
2129
2129
2130
/* call-seq:
2130
- * remainder(value)
2131
+ * remainder(value)
2131
2132
*
2132
2133
* Returns the remainder from dividing by the value.
2133
2134
*
@@ -2144,7 +2145,7 @@ BigDecimal_remainder(VALUE self, VALUE r) /* remainder */
2144
2145
}
2145
2146
2146
2147
/* call-seq:
2147
- * divmod(value)
2148
+ * divmod(value)
2148
2149
*
2149
2150
* Divides by the specified value, and returns the quotient and modulus
2150
2151
* as BigDecimal numbers. The quotient is rounded towards negative infinity.
@@ -2316,7 +2317,7 @@ BigDecimal_add2(VALUE self, VALUE b, VALUE n)
2316
2317
}
2317
2318
2318
2319
/* call-seq:
2319
- * sub(value, digits) -> bigdecimal
2320
+ * sub(value, digits) -> bigdecimal
2320
2321
*
2321
2322
* Subtract the specified value.
2322
2323
*
@@ -2415,7 +2416,7 @@ BigDecimal_abs(VALUE self)
2415
2416
}
2416
2417
2417
2418
/* call-seq:
2418
- * sqrt(n)
2419
+ * sqrt(n)
2419
2420
*
2420
2421
* Returns the square root of the value.
2421
2422
*
@@ -2456,7 +2457,7 @@ BigDecimal_fix(VALUE self)
2456
2457
}
2457
2458
2458
2459
/* call-seq:
2459
- * round(n, mode)
2460
+ * round(n, mode)
2460
2461
*
2461
2462
* Round to the nearest integer (by default), returning the result as a
2462
2463
* BigDecimal if n is specified and positive, or as an Integer if it isn't.
@@ -2534,7 +2535,7 @@ BigDecimal_round(int argc, VALUE *argv, VALUE self)
2534
2535
}
2535
2536
2536
2537
/* call-seq:
2537
- * truncate(n)
2538
+ * truncate(n)
2538
2539
*
2539
2540
* Truncate to the nearest integer (by default), returning the result as a
2540
2541
* BigDecimal.
@@ -2596,7 +2597,7 @@ BigDecimal_frac(VALUE self)
2596
2597
}
2597
2598
2598
2599
/* call-seq:
2599
- * floor(n)
2600
+ * floor(n)
2600
2601
*
2601
2602
* Return the largest integer less than or equal to the value, as a BigDecimal.
2602
2603
*
@@ -2643,7 +2644,7 @@ BigDecimal_floor(int argc, VALUE *argv, VALUE self)
2643
2644
}
2644
2645
2645
2646
/* call-seq:
2646
- * ceil(n)
2647
+ * ceil(n)
2647
2648
*
2648
2649
* Return the smallest integer greater than or equal to the value, as a BigDecimal.
2649
2650
*
@@ -2686,7 +2687,7 @@ BigDecimal_ceil(int argc, VALUE *argv, VALUE self)
2686
2687
}
2687
2688
2688
2689
/* call-seq:
2689
- * to_s(s)
2690
+ * to_s(s)
2690
2691
*
2691
2692
* Converts the value to a string.
2692
2693
*
@@ -2996,8 +2997,8 @@ bigdecimal_power_by_bigdecimal(Real const* x, Real const* exp, ssize_t const n)
2996
2997
}
2997
2998
2998
2999
/* call-seq:
2999
- * power(n)
3000
- * power(n, prec)
3000
+ * power(n)
3001
+ * power(n, prec)
3001
3002
*
3002
3003
* Returns the value raised to the power of n.
3003
3004
*
@@ -3788,8 +3789,9 @@ BigDecimal_s_interpret_loosely(VALUE klass, VALUE str)
3788
3789
return VpCheckGetValue (vp );
3789
3790
}
3790
3791
3791
- /* call-seq:
3792
- * BigDecimal.limit(digits)
3792
+ /*
3793
+ * call-seq:
3794
+ * BigDecimal.limit(digits)
3793
3795
*
3794
3796
* Limit the number of significant digits in newly created BigDecimal
3795
3797
* numbers to the specified value. Rounding is performed as necessary,
@@ -3923,7 +3925,7 @@ BigDecimal_save_limit(VALUE self)
3923
3925
}
3924
3926
3925
3927
/* call-seq:
3926
- * BigMath.exp(decimal, numeric) -> BigDecimal
3928
+ * BigMath.exp(decimal, numeric) -> BigDecimal
3927
3929
*
3928
3930
* Computes the value of e (the base of natural logarithms) raised to the
3929
3931
* power of +decimal+, to the specified number of digits of precision.
@@ -4054,7 +4056,7 @@ BigMath_s_exp(VALUE klass, VALUE x, VALUE vprec)
4054
4056
}
4055
4057
4056
4058
/* call-seq:
4057
- * BigMath.log(decimal, numeric) -> BigDecimal
4059
+ * BigMath.log(decimal, numeric) -> BigDecimal
4058
4060
*
4059
4061
* Computes the natural logarithm of +decimal+ to the specified number of
4060
4062
* digits of precision, +numeric+.
0 commit comments