Public member functions
- virtual NzaeNumericField* abs() const
- Gets the absolute value.
- virtual NzaeNumericField* add(const NzaeNumericField &other) const
- Add.
- virtual NzaeNumericField* ceil() const
- Gets the ceiling.
- virtual int32_t cmp(const NzaeNumericField &other) const
- Compare.
- virtual NzaeNumericField* div(const NzaeNumericField &other) const
- Divide.
- virtual NzaeNumericField* exp() const
- Gets the exponent.
- virtual NzaeNumericField* floor() const
- Gets the floor.
- virtual int32_t getsign() const
- Gets the sign.
- virtual NzaeNumericField* ln() const
- Gets the natural Log.
- virtual NzaeNumericField* log() const
- Get the base 10 log.
- virtual NzaeNumericField* log(const NzaeNumericField &base) const
- Gets the Log.
- virtual NzaeNumericField* mod(const NzaeNumericField &other) const
- Gets the modulus.
- virtual NzaeNumericField* mul(const NzaeNumericField &other) const
- Multiply.
- NzaeNumericField()
- Constructs a numeric field with precision and scale of 0.
- operator double() const
- Returns the value, converted to a double.
- bool operator!=(const NzaeNumericField &x) const
- Not Equal.
- NzaeNumericField& operator%=(const NzaeNumericField &x)
- Assignment by modulo.
- NzaeNumericField& operator*=(const NzaeNumericField &x)
- Assignment by multiplication.
- NzaeNumericField& operator++()
- Increment.
- NzaeNumericField& operator+=(const NzaeNumericField &x)
- Assignment by addition.
- NzaeNumericField& operator--()
- Decrement.
- NzaeNumericField& operator-=(const NzaeNumericField &x)
- Assignment by subtraction.
- NzaeNumericField& operator/=(const NzaeNumericField &x)
- Assignment by division.
- bool operator<(const NzaeNumericField &x) const
- Less than.
- bool operator<=(const NzaeNumericField &x) const
- Less than or equal.
- NzaeNumericField& operator=(int64_t val)
- Assigns the value of the argument to a field object.
- NzaeNumericField& operator=(int32_t val)
- Assigns the value of the argument to a field object.
- NzaeNumericField& operator=(const NzaeNumericField &val)
- Assigns the value of the argument to a field object. The field argument may be a different type, as long as it is compatible.
- NzaeNumericField& operator=(double val)
- Assigns the value of the argument to a field object.
- bool operator==(const NzaeNumericField &x) const
- Equal to.
- bool operator>(const NzaeNumericField &x) const
- Greater than.
- bool operator>=(const NzaeNumericField &x) const
- Greater than or equal.
- virtual NzaeNumericField* power(const NzaeNumericField &exponent) const
- Raise to a power.
- int precision() const
- Returns the precision.
- virtual NzaeNumericField* round(int scale=0) const
- Rounds the value.
- int scale() const
- Returns the scale.
- void setPrecision(int prec)
- Sets the precision.
- void setScale(int scale)
- Sets the scale.
- virtual NzaeNumericField* sqrt() const
- Gets the square root.
- virtual NzaeNumericField* sub(const NzaeNumericField &other) const
- Subtract.
- virtual NzaeNumeric128Field* toNumeric128(int precision, int scale) const
- Constructs a NzaeNumeric128Field from the current field.
- virtual NzaeNumeric32Field* toNumeric32(int precision, int scale) const
- Constructs a NzaeNumeric32Field from the current field.
- virtual NzaeNumeric64Field* toNumeric64(int precision, int scale) const
- Constructs a NzaeNumeric64Field from the current field.
- virtual NzaeNumericField* trunc(int scale=0) const
- Truncates the value.
- virtual NzaeNumericField* uminus() const
- Unary minus.
- virtual NzaeNumericField* uplus() const
- Unary plus.
- virtual ~NzaeNumericField()