Microsoft interview question

How is the square root function implemented