On Tue, 2011-12-13 at 07:33 +0100, Lionel Elie Mamane wrote: > For a signed integer in twos complement, that is true, except for the > smallest representable (negative) number; it stems from the asymmetry > of the range.
Thanks. I was aware of two's complement, but I just couldn't connect the dots in this specific moment. As Staphan suggested, some clarifying comment would make it a little less surprising for the occasional unsuspecting visitors. Kohei -- Kohei Yoshida, LibreOffice hacker, Calc _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice