All pastes #478561 Raw Edit

Someone

public java v1 · immutable
·published 2007-05-09 08:00 UTC
rendered paste body
import java.lang.Math;public class Matte{	public static void main(String[] args)	{		System.out.println(Math.sqrt(5786));		System.out.println(lolsqrt(8314567891011L, 14));	}	public static double lolsqrt(long number, double guess)	{		for(int i = 0; i < 20; i++) {			// Count			guess = 0.5 * ( guess + number / guess );		}		return guess;	}}