phased-executor (#4)

Co-authored-by: Zachary Levy <zachary@sunforge.is>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-04-03 01:53:23 +00:00
parent 25fca052f5
commit 59c600d630
5 changed files with 315 additions and 11 deletions

View File

@@ -2,7 +2,6 @@ package levmath
import "base:intrinsics"
import "core:math"
import "core:testing"
// ---------------------------------------------------------------------------------------------------------------------
// ----- Fast Exp (Schraudolph IEEE 754 bit trick) ---------------------------------------------------------------------
@@ -77,6 +76,7 @@ fast_exp :: #force_inline proc "contextless" (x: $FLOAT) -> FLOAT where intrinsi
// ---------------------------------------------------------------------------------------------------------------------
// ----- Testing -------------------------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------------------------------------------------
import "core:testing"
@(test)
test_fast_exp_identity :: proc(t: ^testing.T) {