Update sqr_FAC1

This commit is contained in:
Rikard Nordgren authored and FeralChild64 committed 2026-04-29 21:18:16 +02:00
1 parent 5127e41643
commit 661f93a03d
3 files changed
+10 -5

No files matched your search

+7 -3
View File
@@ -3,9 +3,13 @@
;; #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.
; Math package - square root of FAC1
;
; This is verified to be identical to the original Microsoft implementation where it was named SQR.
;
; Note:
; - transfers FAC1 to FAC2 and falls through to SQR2
;
@@ -20,9 +24,9 @@
sqr_FAC1:
jsr mov_FAC1_FAC2
jsr mov_r_FAC1_FAC2
; FALLLTROUGH to sqr_FAC2
; FALLLTROUGH to sqr_FAC2
} else {