<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>FAUST compiler: floats.hh File Reference</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.6.3 --> <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> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>floats.hh File Reference</h1><code>#include <iostream></code><br/> <div class="dynheader"> Include dependency graph for floats.hh:</div> <div class="dynsection"> </div> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> </div> <p><a href="floats_8hh_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#a4091ebb0e4eff17b3ff908531df9fb92">isuffix</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">suffix for math functions <a href="#a4091ebb0e4eff17b3ff908531df9fb92"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#a8d72e44e22d1ea45a1f90aaf8e0c683f">inumix</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">suffix for numeric constants <a href="#a8d72e44e22d1ea45a1f90aaf8e0c683f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#af21a266634ce24abcd265188e774ba4a">ifloat</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#ab43c58d96e339afe4b28a632ba1186b6">icast</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#a2da2ae6649f9479320f115342675b275">xfloat</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#a73d3935ab38244e8006fbaa2b7caf33c">xcast</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="floats_8hh.html#ab86f66f2ff1b80e5283c8619216477f1">printfloatdef</a> (std::ostream &fout)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ab43c58d96e339afe4b28a632ba1186b6"></a><!-- doxytag: member="floats.hh::icast" ref="ab43c58d96e339afe4b28a632ba1186b6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* icast </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00047">47</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="floats_8cpp_source.html#l00041">castname</a>, and <a class="el" href="main_8cpp_source.html#l00144">gFloatSize</a>.</p> <p>Referenced by <a class="el" href="compile__scal_8cpp_source.html#l00351">ScalarCompiler::generateInput()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00047"></a>00047 { <span class="keywordflow">return</span> <a class="code" href="floats_8cpp.html#a1025e388bab0ed58a84b251a3b0ce053">castname</a>[<a class="code" href="floats_8cpp.html#a6c4a2e13fce2ec057b1659c8785a4141">gFloatSize</a>]; } </pre></div></p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="af21a266634ce24abcd265188e774ba4a"></a><!-- doxytag: member="floats.hh::ifloat" ref="af21a266634ce24abcd265188e774ba4a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* ifloat </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00046">46</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="floats_8cpp_source.html#l00040">floatname</a>, and <a class="el" href="main_8cpp_source.html#l00144">gFloatSize</a>.</p> <p>Referenced by <a class="el" href="compile__scal_8cpp_source.html#l00489">ScalarCompiler::generateFloatCast()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00674">ScalarCompiler::generateStaticTable()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00638">ScalarCompiler::generateTable()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00486">DocCompiler::getTypedNames()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00401">ScalarCompiler::getTypedNames()</a>, and <a class="el" href="klass_8cpp_source.html#l01069">SigFloatGenKlass::println()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00046"></a>00046 { <span class="keywordflow">return</span> <a class="code" href="floats_8cpp.html#a54b9ae7a1e2b577481fb71681777f3a2">floatname</a>[<a class="code" href="floats_8cpp.html#a6c4a2e13fce2ec057b1659c8785a4141">gFloatSize</a>]; } </pre></div></p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="a8d72e44e22d1ea45a1f90aaf8e0c683f"></a><!-- doxytag: member="floats.hh::inumix" ref="a8d72e44e22d1ea45a1f90aaf8e0c683f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* inumix </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>suffix for numeric constants </p> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00044">44</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="main_8cpp_source.html#l00144">gFloatSize</a>, and <a class="el" href="floats_8cpp_source.html#l00039">numsuffix</a>.</p> <p>Referenced by <a class="el" href="Text_8cpp_source.html#l00185">T()</a>.</p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="a4091ebb0e4eff17b3ff908531df9fb92"></a><!-- doxytag: member="floats.hh::isuffix" ref="a4091ebb0e4eff17b3ff908531df9fb92" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* isuffix </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>suffix for math functions </p> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00043">43</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="main_8cpp_source.html#l00144">gFloatSize</a>, and <a class="el" href="floats_8cpp_source.html#l00038">mathsuffix</a>.</p> <p>Referenced by <a class="el" href="tanprim_8cpp_source.html#l00040">TanPrim::generateCode()</a>, <a class="el" href="sqrtprim_8cpp_source.html#l00048">SqrtPrim::generateCode()</a>, <a class="el" href="sinprim_8cpp_source.html#l00040">SinPrim::generateCode()</a>, <a class="el" href="rintprim_8cpp_source.html#l00058">RintPrim::generateCode()</a>, <a class="el" href="remainderprim_8cpp_source.html#l00043">RemainderPrim::generateCode()</a>, <a class="el" href="powprim_8cpp_source.html#l00042">PowPrim::generateCode()</a>, <a class="el" href="logprim_8cpp_source.html#l00047">LogPrim::generateCode()</a>, <a class="el" href="log10prim_8cpp_source.html#l00048">Log10Prim::generateCode()</a>, <a class="el" href="fmodprim_8cpp_source.html#l00042">FmodPrim::generateCode()</a>, <a class="el" href="floorprim_8cpp_source.html#l00042">FloorPrim::generateCode()</a>, <a class="el" href="expprim_8cpp_source.html#l00042">ExpPrim::generateCode()</a>, <a class="el" href="cosprim_8cpp_source.html#l00040">CosPrim::generateCode()</a>, <a class="el" href="ceilprim_8cpp_source.html#l00042">CeilPrim::generateCode()</a>, <a class="el" href="atanprim_8cpp_source.html#l00040">AtanPrim::generateCode()</a>, <a class="el" href="atan2prim_8cpp_source.html#l00042">Atan2Prim::generateCode()</a>, <a class="el" href="asinprim_8cpp_source.html#l00040">AsinPrim::generateCode()</a>, <a class="el" href="acosprim_8cpp_source.html#l00040">AcosPrim::generateCode()</a>, and <a class="el" href="absprim_8cpp_source.html#l00059">AbsPrim::generateLateq()</a>.</p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="ab86f66f2ff1b80e5283c8619216477f1"></a><!-- doxytag: member="floats.hh::printfloatdef" ref="ab86f66f2ff1b80e5283c8619216477f1" args="(std::ostream &fout)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void printfloatdef </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>fout</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00052">52</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="floats_8cpp_source.html#l00024">FLOATMACRO</a>.</p> <p>Referenced by <a class="el" href="main_8cpp_source.html#l00475">main()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00053"></a>00053 { <a name="l00054"></a>00054 fout << <span class="stringliteral">"#ifndef "</span> << <a class="code" href="floats_8cpp.html#a6e1cfd97c5b44574fd26876ffd9029cb">FLOATMACRO</a> << std::endl; <a name="l00055"></a>00055 fout << <span class="stringliteral">"#define "</span> << <a class="code" href="floats_8cpp.html#a6e1cfd97c5b44574fd26876ffd9029cb">FLOATMACRO</a> << <span class="stringliteral">" "</span> << <span class="stringliteral">"float"</span> << std::endl; <a name="l00056"></a>00056 fout << <span class="stringliteral">"#endif "</span> << std::endl; <a name="l00057"></a>00057 fout << std::endl; <a name="l00058"></a>00058 fout << <span class="stringliteral">"typedef long double quad;"</span> << std::endl; <a name="l00059"></a>00059 } </pre></div></p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="a73d3935ab38244e8006fbaa2b7caf33c"></a><!-- doxytag: member="floats.hh::xcast" ref="a73d3935ab38244e8006fbaa2b7caf33c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* xcast </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00050">50</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="floats_8cpp_source.html#l00041">castname</a>.</p> <p>Referenced by <a class="el" href="compile__vect_8cpp_source.html#l00032">VectorCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00129">ScalarCompiler::compileMultiSignal()</a>, and <a class="el" href="compile__scal_8cpp_source.html#l00357">ScalarCompiler::generateOutput()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00050"></a>00050 { <span class="keywordflow">return</span> <a class="code" href="floats_8cpp.html#a1025e388bab0ed58a84b251a3b0ce053">castname</a>[0]; } </pre></div></p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> <a class="anchor" id="a2da2ae6649f9479320f115342675b275"></a><!-- doxytag: member="floats.hh::xfloat" ref="a2da2ae6649f9479320f115342675b275" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* xfloat </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="floats_8cpp_source.html#l00049">49</a> of file <a class="el" href="floats_8cpp_source.html">floats.cpp</a>.</p> <p>References <a class="el" href="floats_8cpp_source.html#l00040">floatname</a>.</p> <p>Referenced by <a class="el" href="compile__vect_8cpp_source.html#l00032">VectorCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00129">ScalarCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00498">ScalarCompiler::generateButton()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00507">ScalarCompiler::generateCheckbox()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00572">ScalarCompiler::generateHBargraph()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00526">ScalarCompiler::generateHSlider()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00535">ScalarCompiler::generateNumEntry()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00545">ScalarCompiler::generateVBargraph()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00517">ScalarCompiler::generateVSlider()</a>, <a class="el" href="klass_8cpp_source.html#l00860">Klass::printComputeMethodOpenMP()</a>, <a class="el" href="klass_8cpp_source.html#l00744">Klass::printComputeMethodScalar()</a>, <a class="el" href="klass_8cpp_source.html#l00959">Klass::printComputeMethodScheduler()</a>, <a class="el" href="klass_8cpp_source.html#l00760">Klass::printComputeMethodVectorFaster()</a>, and <a class="el" href="klass_8cpp_source.html#l00789">Klass::printComputeMethodVectorSimple()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00049"></a>00049 { <span class="keywordflow">return</span> <a class="code" href="floats_8cpp.html#a54b9ae7a1e2b577481fb71681777f3a2">floatname</a>[0]; } </pre></div></p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:06 2010 for FAUST compiler by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>