Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^9: solve cubic equations (Python)

by LanX (Archbishop)
on May 05, 2017 at 23:20 UTC ( #1189630=note: print w/replies, xml ) Need Help??


in reply to Re^8: solve cubic equations (Python)
in thread solve cubic equations

> I just discovered use integer..

Interesting, but I didn't mean that, Perl's parser allows typing

 my TYPE VARLIST

See my

But not much more was ever implemented.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^10: solve cubic equations (Python)
by no_slogan (Deacon) on May 05, 2017 at 23:26 UTC
    Yes, I got that. I was looking at B::CC recently, and I was surprised to see that support for type attributes is still marked as DOES NOT WORK YET. The way you tell it that a variable is an int is to name it with _i at the end.
      The way you tell it that a variable is an int is to name it with _i at the end.
      And that doesn't work either. Everything is actually compiled as doubles.
      Thanks ... well I read further and found types and optimizer

      Apparently Reini was working on it and the code reveals a Perl interface to identify types.

      I wished I had enough time to explore this further...

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1189630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2019-10-19 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?