Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: Reasons for Using Perl 6

by Anonymous Monk
on Jan 03, 2018 at 16:33 UTC ( #1206612=note: print w/replies, xml ) Need Help??


in reply to Re^6: Reasons for Using Perl 6
in thread Reasons for Using Perl 6

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.
>>> sqrt(2) sqrt(2) >>> sqrt(2) * sqrt(6) 2*sqrt(3) >>> sin(pi*3/2) -1
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.

Replies are listed 'Best First'.
Re^8: Reasons for Using Perl 6
by Laurent_R (Canon) on Jan 03, 2018 at 20:13 UTC
    For mathematical work, Python is so far ahead of Perl that it's downright embarrassing.
    I agree that Python is ahead of Perl on that account and it's very unfortunate.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1206612]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2018-07-17 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (353 votes). Check out past polls.

    Notices?