DCNum

Undocumented in source.

Constructors

this
this(DCNum num)

copy constructor

this
this(INT val)

constructor from Integral values

this
this(string value)

constructor from string.

Members

Functions

div
DCNum div(DCNum rhs, uint scale)
Undocumented in source. Be warned that the author may not have intended to support it.
isZero
bool isZero()
Undocumented in source. Be warned that the author may not have intended to support it.
mod
DCNum mod(DCNum rhs, uint scale)
Undocumented in source. Be warned that the author may not have intended to support it.
mul
DCNum mul(DCNum rhs, uint scale)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
DCNum opBinary(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
DCNum opBinary(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
DCNum opBinary(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
DCNum opBinary(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
DCNum opBinary(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(DCNum rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(T rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
raise
DCNum raise(long exponent, uint scale)

raise this to the exponent power

sqrt
DCNum sqrt(uint scale)

Find square root by Newton's algorithm this function assumes this >= 0 the returned value has specified scale

to
T to()
Undocumented in source. Be warned that the author may not have intended to support it.
to
T to()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta