1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.12"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>Define Command: define.h Source File</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="doxygen.css" rel="stylesheet" type="text/css" />
15 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <table cellspacing="0" cellpadding="0">
19 <tr style="height: 56px;">
20 <td id="projectalign" style="padding-left: 0.5em;">
21 <div id="projectname">Define Command
28 <!-- end header part -->
29 <!-- Generated by Doxygen 1.8.12 -->
30 <script type="text/javascript" src="menudata.js"></script>
31 <script type="text/javascript" src="menu.js"></script>
32 <script type="text/javascript">
34 initMenu('',false,false,'search.php','Search');
37 <div id="main-nav"></div>
40 <div class="headertitle">
41 <div class="title">define.h</div> </div>
43 <div class="contents">
44 <a href="define_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*! \file define.h</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> \brief testing defines</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> </span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> This is to test the documentation of defines.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*/</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">/*!</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> \def MAX(x,y)</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> Computes the maximum of \a x and \a y.</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*/</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">/*! </span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Computes the absolute value of its argument \a x.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">*/</span></div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="define_8h.html#a996f7be338ccb40d1a2a5abc1ad61759"> 15</a></span> <span class="preprocessor">#define ABS(x) (((x)>0)?(x):-(x))</span></div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="define_8h.html#aacc3ee1a7f283f8ef65cea31f4436a95"> 16</a></span> <span class="preprocessor">#define MAX(x,y) ((x)>(y)?(x):(y))</span></div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="define_8h.html#a74e75242132eaabbc1c512488a135926"> 17</a></span> <span class="preprocessor">#define MIN(x,y) ((x)>(y)?(y):(x)) </span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> /*!< Computes the minimum of \a x and \a y. */</span></div></div><!-- fragment --></div><!-- contents -->
45 <!-- start footer part -->
46 <hr class="footer"/><address class="footer"><small>
47 Generated by  <a href="http://www.doxygen.org/index.html">
48 <img class="footer" src="doxygen.png" alt="doxygen"/>