diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2025-12-18 18:21:00 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-18 19:21:00 -0500 |
| commit | b14f2f0116e6eccbfff57edae1283b3c53247752 (patch) | |
| tree | fab99ea94f72f9160e60f87171642dd0455107fc /numeric.c | |
| parent | 084b916a5b9da0367b077add3203b924e868970b (diff) | |
[DOC] Harmonize lt methods
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1702,7 +1702,8 @@ flo_ge(VALUE x, VALUE y) * call-seq: * self < other -> true or false * - * Returns +true+ if +self+ is numerically less than +other+: + * Returns whether the value of +self+ is less than the value of +other+; + * +other+ must be numeric, but may not be Complex: * * 2.0 < 3 # => true * 2.0 < 3.0 # => true @@ -1710,7 +1711,6 @@ flo_ge(VALUE x, VALUE y) * 2.0 < 2.0 # => false * * <tt>Float::NAN < Float::NAN</tt> returns an implementation-dependent value. - * */ static VALUE @@ -5038,7 +5038,8 @@ fix_lt(VALUE x, VALUE y) * call-seq: * self < other -> true or false * - * Returns +true+ if the value of +self+ is less than that of +other+: + * Returns whether the value of +self+ is less than the value of +other+; + * +other+ must be numeric, but may not be Complex: * * 1 < 0 # => false * 1 < 1 # => false @@ -5046,8 +5047,6 @@ fix_lt(VALUE x, VALUE y) * 1 < 0.5 # => false * 1 < Rational(1, 2) # => false * - * Raises an exception if the comparison cannot be made. - * */ static VALUE |
