diff options
Diffstat (limited to 'ace/OS_NS_math.h')
-rw-r--r-- | ace/OS_NS_math.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/OS_NS_math.h b/ace/OS_NS_math.h index 49143738a79..ac02cd3070f 100644 --- a/ace/OS_NS_math.h +++ b/ace/OS_NS_math.h @@ -91,9 +91,17 @@ namespace ACE_OS ACE_NAMESPACE_INLINE_FUNCTION double floor (double x); + /// This method computes the largest integral value not greater than x. + ACE_NAMESPACE_INLINE_FUNCTION + long double floor (long double x); + /// This method computes the smallest integral value not less than x. ACE_NAMESPACE_INLINE_FUNCTION double ceil (double x); + + /// This method computes the smallest integral value not less than x. + ACE_NAMESPACE_INLINE_FUNCTION + long double ceil (long double x); /// This method computes the base-2 logarithm of x. ACE_NAMESPACE_INLINE_FUNCTION |