02-12-2016, 06:42 PM
Can anyone explain to me (or recreate the bug) why acos(cos(2)) = 2pi - 2, and not 2, which you get when evaluating acos(cos(2.)). Works fine on the home side.
It seems 1 is the only (integer) value that is correct: acos(cos(1))=1.
Worse is acos(cos(4)) = -2 pi + 4 = -2.2831 (Should be positive, or 2 pi - 4).
These are all in radian mode. Degree mode seems to work fine. A little troubling, or I'm missing something.
C
It seems 1 is the only (integer) value that is correct: acos(cos(1))=1.
Worse is acos(cos(4)) = -2 pi + 4 = -2.2831 (Should be positive, or 2 pi - 4).
These are all in radian mode. Degree mode seems to work fine. A little troubling, or I'm missing something.
C