On Wed, Oct 16, 2013 at 6:01 AM, Yang Guo <[email protected]> wrote:

> Hi,
>
> I would like to implement some of the new Math.* functions proposed in the
> ES6 draft in V8 following the V8 launch process. Specifically, this
> includes:
> - Math.sign
> - Math.trunc
> - Math.cosh
> - Math.sinh
> - Math.tanh
> - Math.acosh
> - Math.asinh
> - Math.atanh
> - Math.log1p
> - Math.expm1
>
> I'm NOT planning to include following functions for now:
> - Math.hypot
> - Math.fround
> - Math.cbrt
> - Math.log10
> - Math.log2
>
> The functions for which I propose an implementation in V8, I feel that
> they are straightforward to implement, are required often (sign and trunc)
> or hard to polyfill efficiently (hyperbolic functions) or accurately (log1p
> and expm1). Note that these properties do not apply for the math functions
> I'm excluding for now.
>
> 1. They are part of the current ES6 draft.
>
> 2. The spec details are not expected to change.
>

Qualified under 1 + 2:

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.fround
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.hypot
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.cbrt
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.log10
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.log2




>
> 3. They are implemented in Firefox 26+.
>

Qualified under 1 + 2 + 3

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.fround
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.cbrt
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.log10
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.log2


Rick

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to