|
FAUST compiler
0.9.9.6b8
|
#include "floats.hh"
Go to the source code of this file.
Macros | |
| #define | FLOATMACRO "FAUSTFLOAT" |
| #define | FLOATCAST "(" FLOATMACRO ")" |
Functions | |
| const char * | isuffix () |
| suffix for math functions More... | |
| const char * | inumix () |
| suffix for numeric constants More... | |
| const char * | ifloat () |
| const char * | icast () |
| const char * | xfloat () |
| const char * | xcast () |
| void | printfloatdef (std::ostream &fout) |
Variables | |
| int | gFloatSize |
| const char * | mathsuffix [] = {"", "f", "", "l"} |
| const char * | numsuffix [] = {"", "f", "", "L"} |
| const char * | floatname [] = {FLOATMACRO, "float", "double", "quad"} |
| const char * | castname [] = {FLOATCAST, "(float)", "(double)", "(quad)"} |
| #define FLOATCAST "(" FLOATMACRO ")" |
Definition at line 25 of file floats.cpp.
| #define FLOATMACRO "FAUSTFLOAT" |
Definition at line 24 of file floats.cpp.
Referenced by printfloatdef().
| const char* icast | ( | ) |
Definition at line 47 of file floats.cpp.
References castname, and gFloatSize.
Referenced by MaxPrim::generateCode(), MinPrim::generateCode(), and ScalarCompiler::generateInput().

| const char* ifloat | ( | ) |
Definition at line 46 of file floats.cpp.
References floatname, and gFloatSize.
Referenced by ScalarCompiler::generateBinOp(), ScalarCompiler::generateButton(), ScalarCompiler::generateCheckbox(), ScalarCompiler::generateFloatCast(), ScalarCompiler::generateHSlider(), ScalarCompiler::generateNumEntry(), ScalarCompiler::generateStaticTable(), ScalarCompiler::generateTable(), ScalarCompiler::generateVSlider(), ScalarCompiler::getTypedNames(), DocCompiler::getTypedNames(), and SigFloatGenKlass::println().

| 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(), RemainderPrim::generateCode(), LogPrim::generateCode(), RintPrim::generateCode(), Log10Prim::generateCode(), PowPrim::generateCode(), SqrtPrim::generateCode(), and AbsPrim::generateCode().

| void printfloatdef | ( | std::ostream & | fout | ) |
Definition at line 52 of file floats.cpp.
References FLOATMACRO.
Referenced by main().

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

| 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().

| const char* castname[] = {FLOATCAST, "(float)", "(double)", "(quad)"} |
Definition at line 41 of file floats.cpp.
| const char* floatname[] = {FLOATMACRO, "float", "double", "quad"} |
Definition at line 40 of file floats.cpp.
| int gFloatSize |
| const char* mathsuffix[] = {"", "f", "", "l"} |
Definition at line 38 of file floats.cpp.
Referenced by isuffix().
| const char* numsuffix[] = {"", "f", "", "L"} |
Definition at line 39 of file floats.cpp.
Referenced by inumix().
1.8.7