Difference between revisions of "Square Root"

6 bytes added ,  06:23, 2 March 2008
m
fixing link
imported>DragoonWraith
(linking to OBSE's sqrt)
imported>DragoonWraith
m (fixing link)
Line 1: Line 1:
Oblivion does '''not''' include a square root function. The [[:Category: Oblivion Script Extender|Oblivion Script Extender]] does - you can find out about it at [[Sqrt]]. Without OBSE, you must use this code:
Oblivion does '''not''' include a square root function. The [[:Category: Oblivion Script Extender|Oblivion Script Extender]] does - you can find out about it at [[SquareRoot]]. Without OBSE, you must use this code:


This uses Newton-Raphson approximation, and gives accuracy to two decimal places for numbers less than or equal to 100. Adding more steps to it increases accuracy very quickly.
This uses Newton-Raphson approximation, and gives accuracy to two decimal places for numbers less than or equal to 100. Adding more steps to it increases accuracy very quickly.