Link Search Menu Expand Document

Rational overview

Added in v1.0.0


Table of contents


utils

Rational (type alias)

Arbitrary-precision rational numbers, represented as a ratio of two Integer values. A rational number may be constructed using the of constructor.

Signature

export type Rational = Ratio<Int>

Added in v1.0.0