Here you can find the source of sqrt(float f)
public static float sqrt(float f)
//package com.java2s; //License from project: LGPL public class Main { public static float sqrt(float f) { return (float) Math.sqrt(f); }// w w w. j ava2s . co m public static float sqrt(double d) { return (float) Math.sqrt(d); } }