Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 meditating upon the Monastery: (6)
As of 2014-12-25 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls