UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

12 lines (9 loc) 202 B
'use strict'; const NAN = Symbol('NaN'); const INFINITY = Symbol('Infinity'); const NEGATIVE_INFINITY = Symbol('-Infinity'); Object.assign(module.exports, { NAN, INFINITY, NEGATIVE_INFINITY });