rat-nest

rat-nest/big-rat

A big integer rational number

JavaScript
15
3
MIT License

big‑rat is a Node.js library that implements arbitrary‑precision rational numbers, providing constructors and a full set of arithmetic, comparison and conversion utilities (add, sub, mul, div, to‑string, to‑float, etc.). It’s aimed at JavaScript developers who need exact fractional calculations without floating‑point rounding errors, such as in scientific, financial, or educational applications.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of rat-nest/big-rat

Account's avatar
Bit twiddling hacks for JavaScript
Account's avatar
Big number implementation in pure javascript
Account's avatar
Inspect binary representation of IEEE754 doubles
Account's avatar
Returns the sign of a number
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

mikolalysenko's profile
mikolalysenko
31 contributions
ashnur's profile
ashnur
3 contributions
jth-'s profile
jth-
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet