User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
base:kernal_floating_point_mathematics [2017-10-22 15:22]
shrydar [7.3 Integer to FP]
base:kernal_floating_point_mathematics [2018-03-20 23:36] (current)
egonolsen [Faster Square Root]
Line 432: Line 432:
  lda value ;get guess based on argument  lda value ;get guess based on argument
 +        clc
  ror  ror
  bcs sqrtadd  bcs sqrtadd
  ldx #$80  ldx #$80
- sta result+1+ stx result+1
 sqrtadd adc #$40 sqrtadd adc #$40
  sta result  sta result
base/kernal_floating_point_mathematics.txt ยท Last modified: 2018-03-20 23:36 by egonolsen