Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Fun with Tiny Numbers

by Porculus (Hermit)
on Aug 26, 2010 at 00:59 UTC ( #857346=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'say 1.234567e-302'
    1.234567e-302
    
  2. or download this
    $ perl -E 'say 1.2345678e-302'
    1e-302
    
  3. or download this
    $ perl -E 'say "help" if 1.2345678e-302 == 1e-302'
    help
    $ perl -E 'say "what" if 1.2345678e-302 < 1.234567e-302'
    what
    
  4. or download this
    $ perl -MPOSIX -E 'say scalar strtod "1.2345678e-302"'
    1.2345678e-302
    
  5. or download this
    $ perl -E 'say 5.5000000000e-298; say 5.50000000000e-298'
    5.5e-298
    5e-298
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://857346]
Approved by Albannach
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-07-03 08:57 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 (50 votes), past polls