-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
coreEcho Core TechnologiesEcho Core TechnologiesmathMathematicsMathematicsruntimeRuntime coreRuntime coretaskSmall, 1–3h taskSmall, 1–3h task
Milestone
Description
Background:
crates/warp-core/tests/deterministic_sin_cos_tests.rscontainstest_sin_cos_error_budget_wip, currently#[ignore]because it compares against platform libm-derived f64 trig.
Goal:
- Replace the reference/oracle with a deterministic one (or a pinned golden-vector oracle) and establish an explicit, documented error budget for the LUT-backed
warp_core::math::trigbackend.
Exit criteria:
- Define and document acceptable max ULP / absolute error for
sinandcosover a specified domain (e.g. [-2TAU, 2TAU]). - Implement deterministic measurement that does not depend on host libm (e.g. precomputed vectors or a deterministic polynomial reference).
- Un-ignore the test (or split into deterministic golden + optional audit).
Notes:
- Determinism requirement:
sin(-x)must be the exact bitwise negation ofsin(x);cos(-x)must matchcos(x).
Metadata
Metadata
Assignees
Labels
coreEcho Core TechnologiesEcho Core TechnologiesmathMathematicsMathematicsruntimeRuntime coreRuntime coretaskSmall, 1–3h taskSmall, 1–3h task
Projects
Status
Done