Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: src/base/ieee754.h

Issue 2083573002: [builtins] Unify Cosh, Sinh and Tanh as exports from flibm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and windows fix. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/assembler.cc ('k') | src/base/ieee754.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BASE_IEEE754_H_ 5 #ifndef V8_BASE_IEEE754_H_
6 #define V8_BASE_IEEE754_H_ 6 #define V8_BASE_IEEE754_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace base { 9 namespace base {
10 namespace ieee754 { 10 namespace ieee754 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Returns exp(x)-1, the exponential of |x| minus 1. 44 // Returns exp(x)-1, the exponential of |x| minus 1.
45 double expm1(double x); 45 double expm1(double x);
46 46
47 // Returns the sine of |x|, where |x| is given in radians. 47 // Returns the sine of |x|, where |x| is given in radians.
48 double sin(double x); 48 double sin(double x);
49 49
50 // Returns the tangent of |x|, where |x| is given in radians. 50 // Returns the tangent of |x|, where |x| is given in radians.
51 double tan(double x); 51 double tan(double x);
52 52
53 // Returns the hyperbolic cosine of |x|, where |x| is given radians.
54 double cosh(double x);
55
56 // Returns the hyperbolic sine of |x|, where |x| is given radians.
57 double sinh(double x);
58
59 // Returns the hyperbolic tangent of |x|, where |x| is given radians.
60 double tanh(double x);
61
53 } // namespace ieee754 62 } // namespace ieee754
54 } // namespace base 63 } // namespace base
55 } // namespace v8 64 } // namespace v8
56 65
57 #endif // V8_BASE_IEEE754_H_ 66 #endif // V8_BASE_IEEE754_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/base/ieee754.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698