@Logan: I think the number you're describing there is exactly `Number.MIN_VALUE`, isn't it?
The machine epsilon is the smallest value ε for which 1 + ε > 1. If we were to consider the relative-to-zero case, we would instead look for an ε such that 0 + ε > 0 holds. `Number.MIN_VALUE` has this property, since ```0 + Number.MIN_VALUE === Number.MIN_VALUE``` and there are no positive values smaller than `Number.MIN_VALUE`. On Saturday, May 12, 2018 7:01:38 PM CEST Logan Smyth wrote: > It doesn't sound like `Number.MIN_VALUE` is what you want, is it? You're > asking for something like `Number.EPSILON`, but relative to `0` instead of > `1`? > > On Sat, May 12, 2018 at 9:57 AM, kdex <[email protected]> wrote: > > Already available, just prepend a minus sign like so: > > > > ```js > > -Number.MIN_VALUE > > ``` > > > > Yours would be much longer to type and brings no additional value. > > > > On Saturday, May 12, 2018 6:54:42 PM CEST Abdul Shabazz wrote: > > > Ok. How about Number.NEGATIVE_MIN_VALUE > > > > _______________________________________________ > > es-discuss mailing list > > [email protected] > > https://mail.mozilla.org/listinfo/es-discuss
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

