FAUST compiler  0.9.9.6b8
Functions
floats.hh File Reference
#include <iostream>
Include dependency graph for floats.hh:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

const char* icast ( )

Definition at line 47 of file floats.cpp.

References castname, and gFloatSize.

Referenced by ScalarCompiler::generateInput().

{ return castname[gFloatSize]; }

Here is the caller graph for this function:

const char* ifloat ( )
const char* inumix ( )

suffix for numeric constants

Definition at line 44 of file floats.cpp.

References gFloatSize, and numsuffix.

Referenced by T().

Here is the caller graph for this function:

const char* isuffix ( )
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;
}

Here is the caller graph for this function:

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]; }

Here is the caller graph for this function:

const char* xfloat ( )