
26 Jan
2012
26 Jan
'12
11:02 p.m.
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. Andrii _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost