fastcos computes the Cosine function of its argument x.
This is a relaxed
version of cos, suitable for use with fastmath compiler flags or applications
not requiring full error handling. Denormal inputs may produce unpredictable
results. Error inputs produce C99 return values. The routine is accurate to
better than 1 ulp over the valid input range. This routine may return slightly
worse than 1 ulp for very large values between 4e5 and 5e5.