Merge pull request #101 from rikardn/ATN

add atn_FAC1
This commit is contained in:
FeralChild64 authored and GitHub committed 2025-04-08 19:15:37 +02:00
commit 6982683d51
12 files changed
+83 -16

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
$07 + LDA #$E0 + LDY #$E2 + JSR $B850 + PLA + BPL $03 + JMP $BFB4 + RTS
Load address of known constant into YA + call well known floating point function + branch on top of stack and call other well known floating point function.
@@ -0,0 +1 @@
12 floating point numbers making upp the approximation polynomial for the ATN function. This polynomial is described in "Computer Approximations" by John Fraser Hart et al. (ISBN 0-88275-642-7) according to https://www.c64-wiki.com/wiki/POLY1
+3
View File
@@ -0,0 +1,3 @@
LDY #$B9 + JSR $BB0F
Partially set input and call well known floating point function
+3
View File
@@ -0,0 +1,3 @@
LDY #$E2 + JSR $B850
Partial load of input + call to known floating point function
+3
View File
@@ -0,0 +1,3 @@
LDA #$E0 + LDY #$E2 + JSR fragment
Load address of known constant and call some function
+3
View File
@@ -0,0 +1,3 @@
$B9 + JSR $BB0F
Fragment + call to well known floating point function
+3
View File
@@ -0,0 +1,3 @@
$BC + LDY #$B9 + JMP
Fragments
+3
View File
@@ -0,0 +1,3 @@
$DA + $A2 + LDA $66 + PHA
Fragment + push FAC1 sign on stack