Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Bug? 1+1 != 2

by BrowserUk (Pope)
on Jun 19, 2003 at 11:52 UTC ( #267145=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        1 x 1/2
    +   0 x 1/4
    +   1 x 1/8
    -----------
            5/8 = 0.625
    
  2. or download this
    1/2          (0.500000000000)    0
    1/4          (0.250000000000)    0
    ...
    1/4096       (0.000244140625)    0
    ---------------------------------------------------
                                          0.0986328125
    
  3. or download this
     perl> printf "%.32f\n", 0.1
    0.100 000 000 000 000 010 000 000 000 000 00
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-07-29 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (266 votes), past polls