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

scratch

by scratch (Sexton)
on May 10, 2000 at 20:02 UTC ( #10982=user: print w/replies, xml ) Need Help??

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GSS d-(+) s: a C++ UH+ P+>+++ L+>+++ E--@ W+@ N+ o K++ w O- M-@ V-- PS+(++) PE- Y+ PGP t-@ 5? X- R-- tv(+)@ b>++ DI++++ D G e++ h-- r+++ y++++
------END GEEK CODE BLOCK------

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[pryrt]: 1nickt, sprintf "%.16e", $v will always give enough precision to see 1 ULP (the smallest fractional part) of a standard 64bit Perl NV*
[pryrt]: (*: for systems where $Config{nvsize}==8 )
[pryrt]: Thus, that's "enough precision" to tell the difference between 1.0 and 1.0+1ULP
[pryrt]: But in what circumstance does your problem arise? When, in Perl, does the integer 1 not work identically to the floating-point NV 1.0000000000000000 e0?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2017-05-24 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?