Email or username:

Password:

Forgot your password?
Top-level
⛧ esoterik ⛧

@bellinitte i saw that @neauoire had an implementation of heron's algorithm in uxntal (but for integers), so that is probably a good place to start.

if it gives you trouble, let me know. i should probably add sqrt to fix16.tal sooner or later.

6 comments
⛧ esoterik ⛧

@neauoire @bellinitte i just implemented it for fun for fix16.tal.

it's not 100% perfect but i think it's "close enough" for most things. i had to add a counter to make sure the algorithm terminated (it's not totally stable with fixed point math)

Devine Lu Linvega

@d6 @bellinitte great! I'll update my copy of fix16. Is it not up yet?

⛧ esoterik ⛧

@neauoire @bellinitte it should be up now. there was a delay getting it onto the web server.

Go Up