What's the rational value of sqrt(2)? What's the rational value of sin(25)?If you want to deal with these things precisely, you can use Mathematica, or Python's Sympy.
Notice, that's exactly -1. No approximation at all. Sympy knows a lot of mathematical identities. For mathematical work, Python is so far ahead of Perl that it's downright embarrassing. To claim that Perl6 is breaking new ground in this area is simply absurd.>>> sqrt(2) sqrt(2) >>> sqrt(2) * sqrt(6) 2*sqrt(3) >>> sin(pi*3/2) -1
In reply to Re^7: Reasons for Using Perl 6
by Anonymous Monk
in thread Reasons for Using Perl 6
by aartist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |