Tarik Moussa
b0946c8704
refactor(constants): centralize magic constants from functionals (N4/N6 audit)
- Add LOG_EDGE_LENGTH_FLOOR (-30.0) for degenerate edge handling
- Add HYPER_IDEAL_SCALE_FLOOR (0.01) for negative-scale clamping
- Add ASIN_DOMAIN_GUARD (1.0 - 1e-15) for asin argument bounding
- Each constant is documented with rationale and units
- Update 4 usage sites: euclidean_functional, hyper_ideal_functional,
spherical_functional, spherical_geometry
- Add constants.hpp include to hyper_ideal_functional and spherical_functional
282/282 tests pass. Addresses N4 (unnamed magic constants) and N6 (centralize
tolerances) from numerical-stability audit.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-31 19:44:39 +02:00
..
2026-05-31 17:43:42 +00:00
2026-05-31 01:17:27 +02:00
2026-05-31 01:17:27 +02:00
2026-05-31 19:44:39 +02:00
2026-05-31 01:17:27 +02:00
2026-05-29 12:50:16 +02:00
2026-05-26 09:14:45 +00:00
2026-05-31 19:44:39 +02:00
2026-05-29 12:50:16 +02:00
2026-05-31 01:17:27 +02:00
2026-05-26 09:14:45 +00:00
2026-05-31 01:17:27 +02:00
2026-05-31 01:17:27 +02:00
2026-05-31 19:44:39 +02:00
2026-05-26 09:14:45 +00:00
2026-05-26 09:14:45 +00:00
2026-05-26 09:14:45 +00:00
2026-05-26 11:15:09 +02:00
2026-05-31 01:17:27 +02:00
2026-05-31 01:51:04 +02:00
2026-05-26 09:14:45 +00:00
2026-05-26 09:14:45 +00:00
2026-05-31 19:44:39 +02:00
2026-05-26 11:15:09 +02:00
2026-05-31 19:44:39 +02:00
2026-05-26 09:14:45 +00:00
2026-05-29 19:08:37 +02:00
2026-05-30 17:20:35 +02:00
2026-05-26 11:15:09 +02:00
2026-05-26 09:14:45 +00:00
2026-05-31 19:44:39 +02:00
2026-05-31 19:44:39 +02:00
2026-05-29 12:50:16 +02:00
2026-05-26 09:14:45 +00:00