z80float icon indicating copy to clipboard operation
z80float copied to clipboard

strtox bug with negative exponent

Open Alone-Coder opened this issue 3 years ago • 0 comments

;Power of 10 is stored in B, need to put in A first xor a sub b ld de,pow10table+120 jp p,+_

doesn't work with numbers like 1e-2. This works for me ("calc" in NedoOS):

;Power of 10 is stored in BC, need to put in A first xor a or b ld de,pow10table+120 jp p,+_

Alone-Coder avatar Jul 15 '22 18:07 Alone-Coder