UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

11 lines 215 B
/** * @public * As per Math.hypot, expect with 2 args. * * @remarks * See {@link mathHypot2}. */ export function mathHypot2(a, b) { return Math.sqrt(a * a + b * b); } //# sourceMappingURL=math-hypot.js.map