double-double
Version:
Pure double-double precision functions *with strict error bounds*.
11 lines • 303 B
JavaScript
/**
* Returns the negative of the given double-double precision floating point
* number.
* * the result is exact
* @param f a double-double precision floating point number
*/
function ddNegativeOf(f) {
return [-f[0], -f[1]];
}
export { ddNegativeOf };
//# sourceMappingURL=dd-negative-of.js.map