Rounding, absolute value. fixed types and CJS/ESM support
Pre-release
Pre-release
- [improvement]: CommonJS support;
- [feature]:
.abs
property to get absolute value of the rational number; - [feature]: comparison between rational numbers via
.compare(rational)
method; - [feature]:
.round()
,.ceil()
, andfloor()
method to perform round operations on rational numbers; - [fix]: package types inferred properly;