WordPtr,IntPtr,IntMax,WordMax

Ben Rudiak-Gould Benjamin.Rudiak-Gould at cl.cam.ac.uk
Thu May 11 20:33:40 EDT 2006


skaller wrote:
> On Fri, 2006-05-12 at 00:34 +0100, Ben Rudiak-Gould wrote:
>> Simon Marlow wrote:
>>> I suppose you might argue that "extra precision is always good".
>> Well... I'm having a hard time thinking of a situation where it isn't. 
> 
> Wastes space in the cache tree, slowing down the program
> and limiting the max size problem that can be handled.

But we were talking about flushing temporary values to memory to force 
rounding; in this case keeping the extra precision is cheaper than getting 
rid of it. When that's not true, I agree that less precision is sometimes 
better.

-- Ben



More information about the Glasgow-haskell-users mailing list