NumericBox unsafe double conversion
Stephan Bergmann
sbergman at redhat.com
Fri Mar 22 15:47:07 PDT 2013
On 03/22/2013 02:50 PM, Zolnai Tamás wrote:
> From that matter, why is that the toInt64() function doesn't pay
> attention on overflow/underflow? Maybe it would simpler to handle these
> "flows" in that function.
Yes, letting the to<Integral> functions return zero in case of overflow,
similarly to the case where "this string represents no number," would
make a lot of sense. Patches welcome.
Stephan
More information about the LibreOffice
mailing list