private static class BinaryScaleFactor.DownSmall extends BinaryScaleFactor
powerOf2| Constructor and Description |
|---|
DownSmall(int powerOf2) |
| Modifier and Type | Method and Description |
|---|---|
BinaryScaleFactor |
invert() |
long |
targetFloor(long srcNumericalValue) |
boolean |
targetOutOfRange(long srcNumericalValue,
long maxAbsValue) |
long |
targetValue(long srcNumericalValue) |
asExponentialStringBuilder, compareTo, concat, equals, get, getFloor1024Factor, getFloor2Factor, getMultiplier, hashCode, isInteger, isUnity, targetOutOfRange, targetValueconcat, getOffset, invertAndConcat, invertAndConcat, targetFloor, targetIntFloor, targetNumber, targetNumberpublic boolean targetOutOfRange(long srcNumericalValue,
long maxAbsValue)
targetOutOfRange in interface IScalarAffineTransformtargetOutOfRange in class BinaryScaleFactorpublic long targetValue(long srcNumericalValue)
targetValue in interface IScalarAffineTransformtargetValue in class BinaryScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlongpublic long targetFloor(long srcNumericalValue)
targetFloor in interface IScalarAffineTransformtargetFloor in class BinaryScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlongpublic BinaryScaleFactor invert()
invert in interface IScalarAffineTransforminvert in class BinaryScaleFactor