Difference between revisions of "Square Root"
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 [[ | 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. |