Hey try this:
The answer I get is -0.448074, instead of 0. This seems to be consistent throughout all Borland compilers, even with their latest release. It's seriously ruining my matrix calculations. Any thoughts?Code:#include <iostream.h>
#include <math.h>
int main(void)
{
cout << cos(90);
return 0;
}