# HG changeset patch # User William Astle # Date 1698726385 21600 # Node ID 1396fe221ff773b1a99e4d501a2811ec088774b5 # Parent 65cb0a0297b3330d87e4ae46c688a525b0d6169c Set value type in correct location for int to float conversion diff -r 65cb0a0297b3 -r 1396fe221ff7 src/fps.s --- a/src/fps.s Mon Oct 30 22:25:47 2023 -0600 +++ b/src/fps.s Mon Oct 30 22:26:25 2023 -0600 @@ -935,7 +935,7 @@ dec fpa0+fpa.extra+4 ; done all digits? bne fps_fromint1 ; brif not lda #valtype_float ; set result type to floating point - sta val.type,y + sta val.type,x jsr fps_normalizea0 ; go normalize fpa0 jmp fps_pack0 ; pack the result to the original accumulator ; This is the digit check for the double-dabble algorith. The left digit check is only concerned if the left digit