Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (13)
As of 2014-08-27 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls