New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 2938 link

Starred by 21 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2014
Cc:
HW: ----
NextAction: ----
OS: ----
Priority: 2
Type: FeatureRequest



Sign in to add a comment

Implement ES6 Math functions

Project Member Reported by yangguo@chromium.org, Oct 18 2013

Issue description

Add implementation and test cases for
- Math.sign
- Math.trunc
- Math.cosh
- Math.sinh
- Math.tanh
- Math.acosh
- Math.asinh
- Math.atanh
- Math.log1p
- Math.expm1
- Math.hypot
- Math.fround
- Math.cbrt
- Math.log10
- Math.log2
 
Cc: rossberg@chromium.org
Labels: Harmony
Let me also add Number.prototype.clz to this issue.
Number.prototype.clz has been dropped in favor of Math.clz32()

https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-01/jan-28.md#conclusionresolution-3
It will actually be named Math.clz32 per the January TC39 meeting:


Status: Fixed
Implementation done. Hidden behind --harmony-maths for the time being.
Labels: Priority-2

Sign in to add a comment