Added phased executor

This commit is contained in:
Zachary Levy
2026-04-02 17:42:36 -07:00
parent 25fca052f5
commit 5559ed2e0b
3 changed files with 311 additions and 1 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) {