@aureooms/js-rational
v4.0.1
Published
Rational numbers for JavaScript
Downloads
15
Maintainers
Readme
:pizza: @aureooms/js-rational
Fractions for JavaScript. See @aureooms/js-rational-field for an implementation of the rational field ℚ base on this library and @aureooms/js-integer. See docs. Parent is @aureooms/js-algorithms.
let [ a , b ] = add( 1 , 10 , 1 , 5 ) ;
a / b === 3 / 10 ; // true