<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MPQC: math.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> </ul> </div> <h1>math.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00002"></a>00002 <span class="preprocessor">#ifndef _util_misc_math_h</span> <a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define _util_misc_math_h</span> <a name="l00004"></a>00004 <span class="preprocessor"></span> <a name="l00005"></a>00005 <span class="preprocessor">#include <math.h></span> <a name="l00006"></a>00006 <a name="l00007"></a>00007 <span class="preprocessor">#ifndef M_PI</span> <a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor"># define M_PI 3.14159265358979323846 </span><span class="comment">/* pi */</span> <a name="l00009"></a>00009 <span class="preprocessor">#endif</span> <a name="l00010"></a>00010 <span class="preprocessor"></span> <a name="l00011"></a>00011 <span class="preprocessor">#ifndef M_LN2</span> <a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor"># define M_LN2 0.69314718055994530942 </span><span class="comment">/* log_e 2 */</span> <a name="l00013"></a>00013 <span class="preprocessor">#endif</span> <a name="l00014"></a>00014 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#ifndef M_PI_2</span> <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor"># define M_PI_2 1.57079632679489661923 </span><span class="comment">/* pi/2 */</span> <a name="l00017"></a>00017 <span class="preprocessor">#endif</span> <a name="l00018"></a>00018 <span class="preprocessor"></span> <a name="l00019"></a>00019 <span class="preprocessor">#endif</span> </pre></div></div> <hr> <address> <small> Generated at Wed Oct 14 14:12:10 2009 for <a href="http://www.mpqc.org">MPQC</a> 2.3.1 using the documentation package <a href="http://www.doxygen.org">Doxygen</a> 1.5.9. </small> </address> </body> </html>