TITLE
CardinalInteger - Cardinal integers
SUBROUTINES
- onload
- ACCEPTS()
- perl() Returns a Perl representation of the CardinalInteger.
- to_s() Returns a CardinalString representation of the CardinalInteger.
- to_i() to_int() floor() ceil() round() truncate() All return
- Returns 1
- gcd(num) Return the greatest common divisor of
- downto(n, block) Runs
- upto(n, block) Runs
- Runs
- succ() Return
- next() Return
self
self and num
block for each integer from the current value of the Integer down to n.
block for each integer from the current value of the Integer up to n.
block for integer from 0 to value of self
self plus 1
self plus 1