UNPKG

double-double

Version:

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

14 lines (9 loc) 240 B
import { parseDouble } from './parse-double.js'; /** * Returns the normalized exponent of the given number. * @param a A double */ function exponent(a: number) { return parseDouble(a).exponent; } export { exponent }