in reply to Re: [OT] The statistics of hashing.
in thread [OT] The statistics of hashing.
Hm. Attempting calculate 1 - 1/2**128 using my calculator just returns 1.
So then I tried Math::BigFloat, and still got just 1. What Am I doing wrong?
use Math::BigFloat; $moritzFactor = Math::BigFloat->new( 1 )->bsub( Math::BigFloat->new( 1 )->bdiv( Math::BigFloat->new( 2 )->bpow( 128 ) ) ); print $moritzFactor; ;; 1 [0] Perl> print $moritzFactor->bstr;; 1 [0] Perl> print $moritzFactor->bsstr;; 1e+0
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: [OT] The statistics of hashing.
by moritz (Cardinal) on Apr 01, 2012 at 15:31 UTC |
In Section
Seekers of Perl Wisdom