SimNumericType Documentation

Classes Extended...

Class Extended By...

Class Referenced By...

Classes Referenced in Header File

Classes Referenced in Code File

public Declarations

Data Items

int numericType
int debugflag
static int NT_REALFLOAT
static int NT_REALFIXED
static int NT_C4HDLREALFLOAT
SimNumericConfiguration* numeric

Constructor

  • SimNumericType()

Destructor

  • virtual ~SimNumericType()

Functions

  • virtual SimNumericType* duplicate()
  • virtual SimNumericType* duplicate(char* txt, bool labelAsCopy=false)
  • bool hardwareEmulate() const
  • virtual void setWithMultiplyAndAddArray(SimNumericType** a, SimNumericType** b, int cellsToUse, bool doNeg)
  • virtual bool almostzero()
  • virtual double value()
  • virtual double realValue()
  • virtual double imagValue()
  • virtual double valueOfComponents()
  • virtual void adjustExponent(int adj)
  • virtual int getExponent()
  • virtual void setExponent(int ex)
  • virtual bool isNegative()
  • virtual bool isPositive()
  • virtual void generateRandom()
  • virtual void dump()
  • virtual void doSubtract(const SimNumericType& a)
  • virtual void doAdd(const SimNumericType& aa)
  • virtual void doMultBy(const SimNumericType& a)
  • virtual void doMultWith(const SimNumericType& a)
  • virtual void doMultAddThisAsOffset(const SimNumericType& a, const SimNumericType& b, bool negmul)
  • virtual void doDivide(const SimNumericType& a)
  • virtual void doSubtract_always(const SimNumericType& a)
  • virtual void doAdd_always(const SimNumericType& aa)
  • virtual void doMultBy_always(const SimNumericType& a)
  • virtual void doMultWith_always(const SimNumericType& a)
  • virtual void doMultAddThisAsOffset_always(const SimNumericType& a, const SimNumericType& b, bool negmul)
  • virtual void doDivide_always(const SimNumericType& a)
  • virtual void assign(long a)
  • virtual void assign(double a)
  • virtual void assign(int a)
  • virtual void assign(const SimNumericType& a)
  • virtual void assign(const SimNumericType* a)
  • virtual void negate()
  • virtual void setWithReciprocalSqrt(const SimNumericType& a)
  • virtual void setWithSquare(const SimNumericType& a)
  • virtual void setWithInverse(const SimNumericType& a)
  • virtual void setWithSqrt(const SimNumericType& a)
  • virtual void setWithReciprocalSqrt_always(const SimNumericType& a)
  • virtual void setWithSquare_always(const SimNumericType& a)
  • virtual void setWithInverse_always(const SimNumericType& a)
  • virtual void setWithSqrt_always(const SimNumericType& a)
  • virtual void setWithReciprocalSqrt_Hardware(const SimNumericType& a)
  • virtual void setWithSquare_Hardware(const SimNumericType& a)
  • virtual void setWithInverse_Hardware(const SimNumericType& a)
  • virtual void setWithSqrt_Hardware(const SimNumericType& a)
  • virtual bool is_less_than(const SimNumericType& a, bool orEquals=false)
  • virtual bool is_less_than(double a, bool orEquals=false)
  • virtual bool is_less_than(int a, bool orEquals=false)
  • virtual bool is_less_than(long a, bool orEquals=false)
  • virtual bool is_greater_than(const SimNumericType& a, bool orEquals=false)
  • virtual bool is_greater_than(double a, bool orEquals=false)
  • virtual bool is_greater_than(int a, bool orEquals=false)
  • virtual bool is_greater_than(long a, bool orEquals=false)
  • int getVectorMultiplyMethod()
  • void setVectorMultiplyMethod(int method)