in reply to Re: Determining the minimum representable increment/decrement possible?
in thread Determining the minimum representable increment/decrement possible?
Is your perl compiled to use long doubles for NV?
I ask because my perl is using normal doubles and I get different results to you:
printf "% 25.32g\n", unpack 'F', pack 'b*', '1000000000000000000000000 +000000000000000000000000000011111111100';; 0.50000000000000011
(In general I think you've hit on at least part of the solution to my quest; though it is complicated by the production of denormals; which I'm still trying to wrap my head around; so I ll get back to you once I've wrapped my brain around them.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Determining the minimum representable increment/decrement possible?
by ikegami (Patriarch) on Jun 15, 2016 at 20:14 UTC |