UNPKG

@stdlib/esm

Version:

ES module distribution for Stdlib, a standard library for JavaScript and Node.js.

3 lines 785 B
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0 import t from"./../../../constants/math/float64-max-base2-exponent.js";import o from"./../../../constants/math/float64-min-base2-exponent.js";import n from"./round.js";import r from"./ldexp.js";import a from"./../assert/is-nan.js";import m from"./../../../constants/math/float64-pinf.js";function s(t){return 0===t?1513.906801156151:1513.906801156151+t*(20.202065669316532+.023093347705734523*t)}function f(t){return 0===t?4368.211668792106:4368.211668792106+t*(233.1842117223149+1*t)}var e=t,i=o,p=n,u=r,c=a,j=m,l=s,x=f;function d(t){var o,n,r;return c(t)?t:t>e?j:t<i?0:(t=(o=(t-=r=p(t))*l(n=t*t))/(x(n)-o),t=1+u(t,1),u(t,r))}var h=d;export default h; //# sourceMappingURL=exp2.js.map