CultLib/packages/cultmath/tests/CultMath.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 08e213dd7c Compare mirror results by bit pattern and say what that proves
SequenceEqual on floats treats -0 as 0. The mirror test now compares
SingleToInt32Bits, with any NaN equal to any NaN. Its summary and
design.md now say the test proves CultMath.hlsl's text computes the same
float32 results as C# math on the CPU, not that a GPU agrees: driver sin
precision alone makes cultmath_hash and value noise differ on hardware.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 14:32:43 +02:00
..
CultMath.Tests.csproj Compile the real HLSL mirror as C# and with dxc; fix its errors 2026-09-14 13:57:03 +02:00
CultMath.Tests.csproj.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
HlslMirrorTests.cs Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
HlslMirrorTests.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
HlslSemanticsTests.cs Match float min, max, clamp, and saturate to DXIL FMin/FMax/Saturate 2026-09-14 14:32:19 +02:00
HlslSemanticsTests.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
HlslSourceCompatibilityTests.cs Compare mirror results by bit pattern and say what that proves 2026-09-14 14:32:43 +02:00
HlslSourceCompatibilityTests.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
MathTests.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
MathTests.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00