> sine = sin(x); > cosine = sqrt(1.0 - sine*sine); >Sqrt() is lots cheaper than cos(). But is it the positive or negative root of the sqrt? By the time that was figured out, one probably could have called cos().