pi.hpp

Go to the documentation of this file.
00001 
00027 #ifndef SGDK_ZREF_PI_HPP
00028 #define SGDK_ZREF_PI_HPP
00029 
00030 namespace sgdk {
00031 
00033 
00049 class Pi
00050 {
00051  public:
00056     typedef double value_type;
00057 
00059 
00062     Pi()
00063     {
00064     }
00065 
00071     inline operator value_type() const
00072     {
00073         return 3.14159265358979323846264;
00074     }
00075 };
00076 }  // namespace sgdk
00077 
00078 #endif  /* SGDK_ZREF_PI_HPP */

Swiss GD Knife is hosted by SourceForge.net.