double-double
Version:
Pure double-double precision functions *with strict error bounds*.
16 lines (11 loc) • 314 B
text/typescript
import { parseDouble } from "./parse-double.js";
/**
* Return the significand of the given double with the hidden bit added (in case
* a is not subnormal or 0, etc.)
*
* @param a A double
*/
function significand(a: number) {
return parseDouble(a).significand;
}
export { significand }