Difference between revisions of "Square Root"
linking to OBSE's sqrt
imported>Proweler |
imported>DragoonWraith (linking to OBSE's sqrt) |
||
Line 1: | Line 1: | ||
Oblivion does '''not''' include a square root function. | 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: | ||
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. |