Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rational
master
Int
Number
Rational
Helper
Int
Number
Built with Crystal 1.9.2
2023-10-07 18:31:23 UTC
abstract struct
Number
Number
Value
Object
Overview
The top-level number type.
Included Modules
Comparable(
Number
)
Rational::Number
Steppable
Direct Known Subclasses
Int
Defined in:
rational/integer.cr
Instance methods inherited from module
Rational::Number
!=(rhs : Rational)
!=
,
<(rhs : Rational)
<
,
<=(rhs : Rational)
<=
,
<=>(rhs : Rational)
<=>
,
==(rhs : Rational)
==
,
>(rhs : Rational)
>
,
>=(rhs : Rational)
>=