Skip to content

Commit 589d680

Browse files
committed
DOC: Document itk::Math::sqrteps 1 ULP change in ITKv6 migration guide
Downstream survey: ANTs uses itk::Math::sqrteps once, as an rcond() tolerance; MITK uses vnl_math::sqrteps directly for plane-distance and level-window tolerances. Neither is meaningfully affected by the 1 ULP decrease to the exactly-representable 2^-26.
1 parent a917b18 commit 589d680

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Documentation/docs/migration_guides/itk_6_migration_guide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ ITKVNL module. The ITKVNLInstantiation library was an empty library used for
227227
compatibility and provided transitive linking to ITKVNL.
228228

229229

230+
`itk::Math::sqrteps` changed by 1 ULP for accuracy
231+
--------------------------------------------------
232+
233+
`itk::Math::sqrteps` is now `0x1p-26`, the exact `sqrt(eps)`;
234+
`vnl_math::sqrteps` (`1.490116119384766e-08`) was 1 ULP higher.
235+
230236
Prefer itk::AnatomicalOrientation over itk::SpatialOrientation
231237
------------------------------------------------
232238

0 commit comments

Comments
 (0)