Update poly_exp

This commit is contained in:
Rikard Nordgren authored and FeralChild64 committed 2026-04-29 21:18:16 +02:00
1 parent 9198cc1dc3
commit 0d35bf3040
2 files changed
+8 -2

No files matched your search

@@ -3,8 +3,14 @@
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
; This file is under the MIT license, it contains code released by Microsoft Corporation.
; See LICENSE for more information.
; Polynomial for the exponential function
; This is verified to be identical to the original Microsoft implementation where it was named EXPCON.
!ifdef CONFIG_TRANSCENDENTAL_FUNCTIONS {
@@ -20,7 +26,7 @@ poly_exp:
+PUT_CONST_POLY_EXP_5
+PUT_CONST_POLY_EXP_6
+PUT_CONST_POLY_EXP_7
+PUT_CONST_POLY_EXP_8
; The constant const_ONE now follows as part of this polynomial
}
+1 -1
View File
@@ -31,7 +31,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = {
0xBD7E, 0xBD90,
0xBDB3, 0xBDC1,
0xBDDD, 0xBF51,
0xBFB4, 0xBFC3,
0xBFB4, 0xBFE7,
};