summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_math.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_math.inl')
-rw-r--r--ACE/ace/OS_NS_math.inl32
1 files changed, 0 insertions, 32 deletions
diff --git a/ACE/ace/OS_NS_math.inl b/ACE/ace/OS_NS_math.inl
index a07cc081299..ff368b53c0d 100644
--- a/ACE/ace/OS_NS_math.inl
+++ b/ACE/ace/OS_NS_math.inl
@@ -22,22 +22,6 @@ namespace ACE_OS {
#endif
}
- ACE_INLINE long double
- floor (long double x)
- {
-#if defined (ACE_LACKS_FLOORL)
- // This method computes the largest integral value not greater than x.
- if(x > 0)
- return static_cast<long> (x);
- else if ((static_cast<long> (x) < x) || (static_cast<long> (x) > x) )
- return static_cast<long>(x) - 1;
- else
- return x;
-#else
- return ::floorl (x);
-#endif
- }
-
ACE_INLINE double
ceil (double x)
{
@@ -54,22 +38,6 @@ namespace ACE_OS {
#endif
}
- ACE_INLINE long double
- ceil (long double x)
- {
-#if defined (ACE_LACKS_CEILL)
- // This method computes the smallest integral value not less than x.
- if (x < 0)
- return static_cast<long> (x);
- else if ((static_cast<long> (x) < x) || (static_cast<long> (x) > x))
- return static_cast<long> (x) + 1;
- else
- return x;
-#else
- return ::ceill (x);
-#endif
- }
-
ACE_INLINE double
log2 (double x)
{