Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

8-bit acorn software: other • Re: Basic's square root algorithm

$
0
0
There is also this method to calculate fp SQRT without any divisions: https://people.eecs.berkeley.edu/~wkaha ... eciprt.pdf
Always interesting, but I see it needs three multiplications - in modern silicon multiplications are cheap, but as we know, not so cheap on the 6502. We can make them a little cheaper than division, but my belief is that we can do square root with a similar cost to a single division.

Dave, happy for you to dive in!

Statistics: Posted by BigEd — Mon Mar 17, 2025 8:46 am



Viewing all articles
Browse latest Browse all 2528

Trending Articles