[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/kdewin32/src/math
From: Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date: 2007-10-05 14:27:03
Message-ID: 1191594423.922917.32475.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 721566 by chehrlic:
fix exports
M +8 -8 math.c
--- trunk/kdesupport/kdewin32/src/math/math.c #721565:721566
@@ -49,7 +49,7 @@
/* 7.12.5.1 */
// acosh(x) = log (x + sqrt(x * x - 1))
-float acoshf (float x)
+KDEWIN32_EXPORT float acoshf (float x)
{
if (_isnan ( x ) )
return x;
@@ -60,7 +60,7 @@
return( log( x + sqrt( x * x - 1 ) ) );
}
-double acosh (double x)
+KDEWIN32_EXPORT double acosh (double x)
{
if (_isnan (x))
return x;
@@ -71,7 +71,7 @@
return( log( x + sqrt( x * x - 1 ) ) );
}
-long double acoshl (long double x)
+KDEWIN32_EXPORT long double acoshl (long double x)
{
return acosh( (double) x );
}
@@ -82,7 +82,7 @@
return ( log ( 1 + x ) );
}
// asinh(x) = copysign(log(fabs(x) + sqrt(x * x + 1.0)), x)
-float asinhf (float x)
+KDEWIN32_EXPORT float asinhf (float x)
{
float z;
if (!_finite (x))
@@ -94,7 +94,7 @@
return ( x > 0.0 ? z : -z);
}
-double asinh (double x)
+KDEWIN32_EXPORT double asinh (double x)
{
double z;
if (!_finite (x))
@@ -106,19 +106,19 @@
return ( x > 0.0 ? z : -z);
}
-long double asinhl (long double x)
+KDEWIN32_EXPORT long double asinhl (long double x)
{
return asinh( (double) x );
}
/* 7.12.5.3 */
//WINPOSIX_EXPORT float asinhf (float)
-double atanh (double x)
+KDEWIN32_EXPORT double atanh (double x)
{
return asinhf( x );
}
-long double atanhl (long double x)
+KDEWIN32_EXPORT long double atanhl (long double x)
{
return asinhf( x );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic