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, targetValue
concat, getOffset, invertAndConcat, invertAndConcat, targetFloor, targetIntFloor, targetNumber, targetNumber
public boolean targetOutOfRange(long srcNumericalValue, long maxAbsValue)
targetOutOfRange
in interface IScalarAffineTransform
targetOutOfRange
in class BinaryScaleFactor
public long targetValue(long srcNumericalValue)
targetValue
in interface IScalarAffineTransform
targetValue
in class BinaryScaleFactor
srcNumericalValue
- a numerical quantity value, expressed in the source unitlong
public long targetFloor(long srcNumericalValue)
targetFloor
in interface IScalarAffineTransform
targetFloor
in class BinaryScaleFactor
srcNumericalValue
- a numerical quantity value, expressed in the source unitlong
public BinaryScaleFactor invert()
invert
in interface IScalarAffineTransform
invert
in class BinaryScaleFactor