I'm on Win32, and that's using the Microsoft C runtime library (msvcrt.dll). If I instead use the mpfr library, then I get the correct result:C:\_32>perl -e "print cos(100000000.0)" -0.36338508935581
Cheers,C:\_32>perl -MMath::MPFR -e "$x=Math::MPFR->new(100000000.0);print cos +($x)" -3.6338508935569053e-1
In reply to Re^3: cos (100000000.0)
by syphilis
in thread cos (100000000.0)
by kavehmz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |