J
John Miles, KE5FX
Guest
On Thursday, April 14, 2022 at 3:05:59 AM UTC-7, Clive Arthur wrote:
> Write a bit of generic code to calculate a square root.
int i=1,root=0; while (input > 0) { input -= i; i += 2; root++; }
Well, you didn\'t say it had to be FAST...
-- john, KE5FX
> Write a bit of generic code to calculate a square root.
int i=1,root=0; while (input > 0) { input -= i; i += 2; root++; }
Well, you didn\'t say it had to be FAST...
-- john, KE5FX