Method | Description | |
---|---|---|
AreAdjacent ( double x, double y ) : bool |
Shewchuk p. 3 "Two floating-point values x and y are adjacent if they overlap, if x overlaps 2y, or if 2x overlaps y."
|
|
AreNonAdjacent ( double x, double y ) : bool | ||
AreNonOverlapping ( double x, double y ) : bool |
"Two floating-point values x and y are nonoverlapping if there exist integers r and s such that x = r.2^s and |y| < 2^s, OR y = r.2^s and |x| < 2^s."
|
|
AreOverlapping ( double x, double y ) : bool | ||
IsNonAdjacent ( this |
S.p3 "An expansion is nonadjacent if no two of its components are adjacent."
|
|
IsNonOverlapping ( this |
S.p3 "An expansion is nonoverlapping if all its components are mutually nonoverlapping."
|
|
IsSorted ( this |
Checks that the components are "sorted in order of increasing magnitude, except that any of the components may be zero". This is a condition used in Shewchuk Theorem 10, p. 10.
|
|
IsStronglyNonOverlapping ( this |
S.p12 "An expansion is strongly nonoverlapping if no two of its components are overlapping, no component is adjacent to two other components, and any pair of adjacent components have the property that both components can be expressed with a one-bit significand (that is, both are powers of two)."
|
|
IsZeroElim ( this |
Checks whether an expansion has been zero-eliminated. Either the expansion must have exactly one element, which is 0.0, or the expansion must have no 0.0 elements.
|
|
Print ( this |
Method | Description | |
---|---|---|
ArePowersOfTwo ( double>.this |
||
GetAdjacent ( IEnumerable |
Returns The order of adjacency is not important, so the order of entries in the returned tuple is not significant.
|
|
NonOverlaps ( this x, double y ) : bool |
public static AreAdjacent ( double x, double y ) : bool | ||
x | double | |
y | double | |
return | bool |
public static AreNonAdjacent ( double x, double y ) : bool | ||
x | double | |
y | double | |
return | bool |
public static AreNonOverlapping ( double x, double y ) : bool | ||
x | double | |
y | double | |
return | bool |
public static AreOverlapping ( double x, double y ) : bool | ||
x | double | |
y | double | |
return | bool |
public static IsNonAdjacent ( this |
||
doubles | this |
|
return | bool |
public static IsNonOverlapping ( this |
||
doubles | this |
|
return | bool |
public static IsSorted ( this |
||
doubles | this |
|
return | bool |
public static IsStronglyNonOverlapping ( this |
||
doubles | this |
|
return | bool |
public static IsZeroElim ( this |
||
doubles | this |
|
return | bool |
public static Print ( this |
||
e | this |
|
elen | int | |
scale | double | |
return | void |