|
FAUST compiler
0.9.9.6b8
|
#include <iostream>

Go to the source code of this file.
Functions | |
| const char * | isuffix () |
| suffix for math functions | |
| const char * | inumix () |
| suffix for numeric constants | |
| const char * | ifloat () |
| const char * | icast () |
| const char * | xfloat () |
| const char * | xcast () |
| void | printfloatdef (std::ostream &fout) |
| const char* icast | ( | ) |
Definition at line 47 of file floats.cpp.
References castname, and gFloatSize.
Referenced by ScalarCompiler::generateInput().
{ return castname[gFloatSize]; }

| const char* ifloat | ( | ) |
Definition at line 46 of file floats.cpp.
References floatname, and gFloatSize.
Referenced by ScalarCompiler::generateFloatCast(), ScalarCompiler::generateStaticTable(), ScalarCompiler::generateTable(), ScalarCompiler::getTypedNames(), DocCompiler::getTypedNames(), and SigFloatGenKlass::println().
{ return floatname[gFloatSize]; }

| const char* inumix | ( | ) |
suffix for numeric constants
Definition at line 44 of file floats.cpp.
References gFloatSize, and numsuffix.
Referenced by T().

| const char* isuffix | ( | ) |
suffix for math functions
Definition at line 43 of file floats.cpp.
References gFloatSize, and mathsuffix.
Referenced by AcosPrim::generateCode(), AtanPrim::generateCode(), SinPrim::generateCode(), TanPrim::generateCode(), AsinPrim::generateCode(), CosPrim::generateCode(), ExpPrim::generateCode(), FloorPrim::generateCode(), Atan2Prim::generateCode(), FmodPrim::generateCode(), CeilPrim::generateCode(), PowPrim::generateCode(), RemainderPrim::generateCode(), LogPrim::generateCode(), Log10Prim::generateCode(), SqrtPrim::generateCode(), AbsPrim::generateCode(), and RintPrim::generateCode().

| void printfloatdef | ( | std::ostream & | fout | ) |
Definition at line 52 of file floats.cpp.
References FLOATMACRO.
Referenced by main().
{
fout << "#ifndef " << FLOATMACRO << std::endl;
fout << "#define " << FLOATMACRO << " " << "float" << std::endl;
fout << "#endif " << std::endl;
fout << std::endl;
fout << "typedef long double quad;" << std::endl;
}

| const char* xcast | ( | ) |
Definition at line 50 of file floats.cpp.
References castname.
Referenced by SchedulerCompiler::compileMultiSignal(), VectorCompiler::compileMultiSignal(), ScalarCompiler::compileMultiSignal(), and ScalarCompiler::generateOutput().
{ return castname[0]; }

| const char* xfloat | ( | ) |
Definition at line 49 of file floats.cpp.
References floatname.
Referenced by SchedulerCompiler::compileMultiSignal(), VectorCompiler::compileMultiSignal(), ScalarCompiler::compileMultiSignal(), ScalarCompiler::generateButton(), ScalarCompiler::generateCheckbox(), ScalarCompiler::generateHBargraph(), ScalarCompiler::generateHSlider(), ScalarCompiler::generateNumEntry(), ScalarCompiler::generateVBargraph(), ScalarCompiler::generateVSlider(), Klass::printComputeMethodOpenMP(), Klass::printComputeMethodScalar(), Klass::printComputeMethodScheduler(), Klass::printComputeMethodVectorFaster(), and Klass::printComputeMethodVectorSimple().
{ return floatname[0]; }

1.8.0