Fixed

Undocumented in source.

Constructors

this
this(long v)
Undocumented in source.
this
this(double v)
Undocumented in source.
this
this(string v)
Undocumented in source.

Members

Functions

conv
auto conv()
Undocumented in source. Be warned that the author may not have intended to support it.
decimalPart
long decimalPart()

this returns |x| - ⌊|x|⌋, so it's always positive

decimalPart
long decimalPart(long newDecimalPart)

sign doesn't matter, for instance those two calls are equivalent: - fix2(-3).decimalPart = -14 // produces -3.14 - fix2(-3).decimalPart = 14 // same

integralPart
long integralPart()
Undocumented in source. Be warned that the author may not have intended to support it.
integralPart
long integralPart(long newIntegralPart)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(Fixed v)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(double v)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(string v)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Fixed opBinary(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
Fixed opBinaryRight(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Fixed b)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(long b)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(double b)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(Fixed v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(double v)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
Fixed opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
Fixed opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
Fixed opUnary()
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.

Manifest constants

factor
enum factor;
Undocumented in source.
pattern
enum pattern;
Undocumented in source.

Properties

asString
string asString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromString
Fixed!scale fromString(string v)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

max
Fixed max;
Undocumented in source.
min
Fixed min;
Undocumented in source.

Meta