Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Okay! What!?!?!?

by trizen (Hermit)
on Apr 23, 2014 at 14:45 UTC ( #1083376=note: print w/replies, xml ) Need Help??

in reply to Re: Okay! What!?!?!?
in thread Okay! What!?!?!?

Go suffers from this problem too. It uses an arbitrary number representation for constants only, which are computed at compile-time.

For example, the following code:

package main import "fmt" func main() { x := 14.4; y := 10.0; fmt.Printf("%.49f\n", x) fmt.Printf("%.49f\n", x+y-y) }
14.4000000000000003552713678800500929355621337890625 14.3999999999999985789145284797996282577514648437500

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083376]
[Discipulus]: choroba if let your company to hire Tanktalus and marioroy ... what a big fishing!
[Discipulus]: i choice prague!!
[choroba]: 1200 years is enough :-)
[marioroy]: Lady_Aleena my $ans = qx! find . -name "*.pl" -exec ls -l {} \\; !;
[Tanktalus]: My basic problem right now is that if I were willing to move, I could be back in Toronto with a pay raise. We have a number of reasons for not wanting to do that.
[marioroy]: I had to backslash the backslash inside qx.
[Tanktalus]: marioroy++ # nice catch
[Lady_Aleena]: marioroy, that makes kinda makes sense.
[Discipulus]: yes i can survive also in younger town.. but when i passed i saw many strange letters..
[Lady_Aleena]: marioroy, sorry, I am not making sense right now.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-04-23 20:14 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.