Skip to main content

PLACEMENT_EPSILONS

Constant PLACEMENT_EPSILONS 

Source
pub const PLACEMENT_EPSILONS: Scalar = 4.0;
Expand description

How many f64::EPSILON of the largest summed coordinate magnitude bound the rounding of applying a transform to a point (#295): a coordinate sums four terms, each rounded at most four times, so it is off by at most gamma_4 < 2.000_001 eps of its summed magnitude, and a point by sqrt 3 of that, below 3.47 eps; 4 also covers computing the magnitude itself in f64 (see the module’s “Placement rounding”).