summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/math.hxx
diff options
context:
space:
mode:
authoros <os@openoffice.org>2009-11-10 15:32:07 +0100
committeros <os@openoffice.org>2009-11-10 15:32:07 +0100
commitaac70bea305ac118fc74c43f9d323d6bcf509d9c (patch)
tree307bd028826dcc18a5a6fa7e051cedc92c933e55 /sal/inc/rtl/math.hxx
parent6902c6cc538e1a40cbe8ab201163e49e72528397 (diff)
parent40ab64211cc89ec112e5baf8c7ff78ad4680b7a3 (diff)
rebase
Diffstat (limited to 'sal/inc/rtl/math.hxx')
-rw-r--r--sal/inc/rtl/math.hxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/sal/inc/rtl/math.hxx b/sal/inc/rtl/math.hxx
index b61cf9b9806f..5760340cc6a4 100644
--- a/sal/inc/rtl/math.hxx
+++ b/sal/inc/rtl/math.hxx
@@ -221,6 +221,35 @@ inline double atanh(double fValue)
return rtl_math_atanh(fValue);
}
+/** A wrapper around rtl_math_erf.
+ */
+inline double erf(double fValue)
+{
+ return rtl_math_erf(fValue);
+}
+
+/** A wrapper around rtl_math_erfc.
+ */
+inline double erfc(double fValue)
+{
+ return rtl_math_erfc(fValue);
+}
+
+/** A wrapper around rtl_math_asinh.
+ */
+inline double asinh(double fValue)
+{
+ return rtl_math_asinh(fValue);
+}
+
+/** A wrapper around rtl_math_acosh.
+ */
+inline double acosh(double fValue)
+{
+ return rtl_math_acosh(fValue);
+}
+
+
/** Test equality of two values with an accuracy of the magnitude of the
given values scaled by 2^-48 (4 bits roundoff stripped).