DoubleBits class

Constructors

DoubleBits.fromDouble(double x)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
xBits int?
getter/setter pair

Methods

biasedExponent() int
Determines the exponent for the number /
doubleToBits(double value) int
getBit(int i) int
getDouble() double
getExponent() int
Determines the exponent for the number /
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numCommonMantissaBits(DoubleBits db) int
This computes the number of common most-significant bits in the mantissa. It does not count the hidden bit, which is always 1. It does not determine whether the numbers have the same exponent - if they do not, the value computed by this function is meaningless. @param db @return the number of common most-significant mantissa bits
toString() String
A representation of the Double bits formatted for easy readability
override
zeroLowerBits(int nBits) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

EXPONENT_BIAS int
final