You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Hash for AngleRadian, AngleGradian, AngleDegree, AngleTurn, Align, Ppm.
Fix hash equality for f32 based unit types.
Refactor zng_layout::unit::about_eq to compare finite values by bucket granularity.
Refactor about_eq_hash to hash the same bucket.
DeprecatedEQ_EPSILON and EQ_EPSILON_100 renamed to EQ_GRANULARITY and EQ_GRANULARITY_100.
These are the types that incorrectly implemented hashing and are now fixed: ColorMatrix, Rgba, PreMulRgba, Hsla, Hsva, FontStretch, FontWeight, InlineSegmentPos, Ppi, Factor and FactorPercent.
In practice direct equality comparisons between two values has no significant change, the previous epsilon distance based
equality was correct, it just was not compatible with hashing.
Refactor about_eq_ord to enforce -inf < finite < inf < NaN using the new equality bucket value for the finite values.
Fix TimeUnits::ms impl for f32.
Fix Txt::split_off when the Txt is backed by &'static str.