UNPKG

double-double

Version:

Pure double-double precision functions *with strict error bounds*.

14 lines (10 loc) 325 B
/** * Returns the sign of the given double-double-precision floating point number. * * a positive or negative double or zero is returned - not necessarily +1, 0 * or -1 * * prefer inlining this - it is really only here for reference */ function ddSign(f: number[]) { return f[1]; } export { ddSign }