Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
sqrt
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.
// Pierwiastek public sqrt(num){ new div = num; new result = 1; while (div > result) // end when div == result, or just below { div = (div + result) / 2; // take mean value as new divisor result = num / div; } return div; }
Dodanych wklejek: 12215
Powered By (Pav32) Pastebin © 2011