OS_NS_math.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file   OS_NS_math.h
00006  *
00007  *  OS_NS_math.h,v 1.4 2005/10/28 16:14:54 ossama Exp
00008  *
00009  *  @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
00010  *  @author Jesper S. M|ller<stophph@diku.dk>
00011  *  @author and a cast of thousands...
00012  *
00013  *  Originally in OS.h.
00014  */
00015 //=============================================================================
00016 
00017 #ifndef ACE_OS_NS_MATH_H
00018 # define ACE_OS_NS_MATH_H
00019 
00020 # include /**/ "ace/pre.h"
00021 
00022 # include "ace/config-all.h"
00023 
00024 # if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 #  pragma once
00026 # endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 #include "ace/ACE_export.h"
00029 
00030 #if defined (ACE_EXPORT_MACRO)
00031 #  undef ACE_EXPORT_MACRO
00032 #endif
00033 #define ACE_EXPORT_MACRO ACE_Export
00034 
00035 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00036 
00037 namespace ACE_OS
00038 {
00039 
00040   /// This method computes the largest integral value not greater than x.
00041   ACE_NAMESPACE_INLINE_FUNCTION
00042   double floor (double x);
00043 
00044   /// This method computes the smallest integral value not less than x.
00045   ACE_NAMESPACE_INLINE_FUNCTION
00046   double ceil (double x);
00047 
00048 } /* namespace ACE_OS */
00049 
00050 ACE_END_VERSIONED_NAMESPACE_DECL
00051 
00052 # if defined (ACE_HAS_INLINED_OSCALLS)
00053 #   if defined (ACE_INLINE)
00054 #     undef ACE_INLINE
00055 #   endif /* ACE_INLINE */
00056 #   define ACE_INLINE inline
00057 #   include "ace/OS_NS_math.inl"
00058 # endif /* ACE_HAS_INLINED_OSCALLS */
00059 
00060 # include /**/ "ace/post.h"
00061 #endif /* ACE_OS_NS_MATH_H */

Generated on Thu Nov 9 09:41:57 2006 for ACE by doxygen 1.3.6