Subject: Re: [boost] Looking for some "real world" extended precision integer arithmetic tests
From: Andrii Sydorchuk (sydorchuk.andriy_at_[hidden])
Date: 2012-01-26 18:02:35
> Interesting, do you store the length of your voronoi fixed_int separate
> from the array?
Yes, I do. Even more I also store the sign of the fixed_int in the same
value (with the size). This means that voronoi fixed_int doesn't use 2's
complement representation. If leading bytes are not set we won't even
operate with them (they might be uninitialized). As another small advantage
we will always have opposite value for the smallest possible negative
integer value representable with the given fixed_int.
Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk