bytecurry.rational

Undocumented in source.

Members

Functions

rational
Rational!T rational(T n)

Create a rational object, with n as the numerator and d as the denominator.

rational
Rational!(CommonType!(A, B)) rational(A n, B d)

Create a rational object, with n as the numerator and d as the denominator.

Structs

Rational
struct Rational(T)

A struct to accurately represent rational numbers (including fractions).

Meta