UNPKG

quaeratin

Version:

An extended precision floating point library (as per Shewchuk) - precision only limited by overflow / underflow

12 lines 287 B
import { eCompress } from "./e-compress.js"; function eIsInteger(a) { a = eCompress(a); for (let i = 0; i < a.length; i++) { if (a[i] % 1 !== 0) { return false; } } return true; } export { eIsInteger }; //# sourceMappingURL=e-is-integer.js.map