I am in Debug-mode right now. And I wanted to calculate:
sin(56)
On the Vista “Calculator”(Rechner) and in Linux, I got this result:
-0,5215510020869118801874100215106
But in the Debug Mode, I got the following results(Where asciimot==56):
[b]sinf(56) -0.521551012992859
sinf(__int2float_rn(asciimot)) -0.521551012992859
sinf(__int2float_rz(asciimot)) -0.521551012992859
sinf(__int2float_ru(asciimot)) -0.521551012992859
sinf(__int2float_rd(asciimot)) -0.521551012992859
sin(56) -0.521551012992859
sin(__int2float_rn(asciimot)) -0.521551012992859
sin(__int2float_rz(asciimot)) -0.521551012992859
sin(__int2float_ru(asciimot)) -0.521551012992859
sin(__int2float_rd(asciimot)) -0.521551012992859
__sinf(56) -0.521551012992859
__sinf(__int2float_rn(asciimot)) -0.521551012992859
__sinf(__int2float_rz(asciimot)) -0.521551012992859
__sinf(__int2float_ru(asciimot)) -0.521551012992859
__sinf(__int2float_rd(asciimot)) -0.521551012992859[/b]
=>
Calculator:-0,5215510020869118801874100215106
DebugMode:-0.521551012992859
I have a GTX+9800. Is this a result of the lack of Double-Precision?
How could I solve this problem?