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

Unified Diff: src/base/ieee754.h

Issue 2068743002: [builtins] Unify Atanh, Cbrt and Expm1 as exports from flibm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed type warning. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/assembler.cc ('k') | src/base/ieee754.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/ieee754.h
diff --git a/src/base/ieee754.h b/src/base/ieee754.h
index 17034e50fcd24b05b5dc1f080a2f8145ba3c05af..ffb20734c0f3dbcca72bb6c3c8d068eef3112842 100644
--- a/src/base/ieee754.h
+++ b/src/base/ieee754.h
@@ -20,6 +20,8 @@ double atan2(double y, double x);
// Returns the base-e exponential of |x|.
double exp(double x);
+double atanh(double x);
+
// Returns the natural logarithm of |x|.
double log(double x);
@@ -33,6 +35,12 @@ double log2(double x);
// Return the base 10 logarithm of |x|.
double log10(double x);
+// Return cube root of |x|.
+double cbrt(double x);
+
+// Returns exp(x)-1, the exponential of |x| minus 1.
+double expm1(double x);
+
} // namespace ieee754
} // namespace base
} // namespace v8
« 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