case class FixData(raw: Double, q: QFormat, roundType: RoundType = getFixRound(), symmetric: Boolean = getFixSym()) extends Product with Serializable
Fixnum
- returns
FixData: -3.8125, Quantized by QFormat: SQ(8,4)
x.bin => 11000011 x.oct => 103 x.hex => c3
val x = FixData(-3.785333,SQ(8,4))
Example:
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FixData
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FixData(raw: Double, q: QFormat, roundType: RoundType = getFixRound(), symmetric: Boolean = getFixSym())
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def *(right: FixData): FixData
- def +(right: FixData): FixData
- def -(right: FixData): FixData
- def <<(n: Int): FixData
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >>(n: Int): FixData
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asLong: Long
- def asLongPostive: Long
- def bin: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def epsCeil(x: Double): Double
- def epsFloor(x: Double): Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fixProcess(): Double
- def fixTo(newQ: QFormat): FixData
- def fixTo(newQ: QFormat, round: RoundType): FixData
- def fixTo(newQ: QFormat, round: RoundType, sym: Boolean): FixData
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hex: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNegative: Boolean
- def isSigned: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def oct: String
- val q: QFormat
- val raw: Double
- val roundType: RoundType
- val symmetric: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- FixData → AnyRef → Any
- def unary_-: FixData
- val value: Double
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated