Add config option for transcendental BASIC functions

Also move all transcendental functions to a separate source directory
Turn off these functions for all configurations for now
This commit is contained in:
Rikard Nordgren committed 2025-04-20 13:08:09 +02:00
1 parent 98b91aef0d
commit 9dde73a14b
35 files changed
+134

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
;; #LAYOUT# STD * #TAKE
;; #LAYOUT# X16 BASIC_0 #TAKE-OFFSET 2000
;; #LAYOUT# * BASIC_0 #TAKE
;; #LAYOUT# * * #IGNORE
; Polynomial for the atn function
!ifdef CONFIG_TRANSCENDENTAL_FUNCTIONS {
poly_atn:
!byte $0B ; series length - 1
+PUT_CONST_POLY_ATN_1
+PUT_CONST_POLY_ATN_2
+PUT_CONST_POLY_ATN_3
+PUT_CONST_POLY_ATN_4
+PUT_CONST_POLY_ATN_5
+PUT_CONST_POLY_ATN_6
+PUT_CONST_POLY_ATN_7
+PUT_CONST_POLY_ATN_8
+PUT_CONST_POLY_ATN_9
+PUT_CONST_POLY_ATN_10
+PUT_CONST_POLY_ATN_11
+PUT_CONST_POLY_ATN_12
}