-
zhengxing.li authored
port c781e831 (r37072) original commit message: Import base::ieee754::cos() and base::ieee754::sin() from fdlibm and introduce Float64Cos and Float64Sin TurboFan operator based on that, similar to what we do for Float64Log. Rewrite Math.cos() and Math.sin() as TurboFan builtins and use those operators to also inline Math.cos() and Math.sin() into optimized TurboFan functions. BUG= Review-Url: https://codereview.chromium.org/2105613002 Cr-Commit-Position: refs/heads/master@{#37304}
3bc1a842