Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 320 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 320 Bytes

Rational

Rational number.

Example use:

r1 := Rational with(1, 2) /* 1/2 */
r1 + r1 == Rational with(1, 1) /* true */
Rational with(1, 1) == Rational with(4, 4) /* true */

r2 := Rational with(1, 4)
r1 + r2 == 0.75 asRational

Installation

eerie install https://github.com/IoLanguage/Rational.git