Apache OpenOffice (AOO) Bugzilla – Issue 7045
Float fraction forgotten in number to string conversion in rtl_ImplFloatToString() routine.
Last modified: 2002-12-04 14:47:20 UTC
Probably a typo in $(SRCROOT)/sal/rtl/source/strimp.c //Was: sal_uInt32 nFractBits = nFractBits & FLOAT_FRACTMASK; // Shouldn't it be: sal_uInt32 nFractBits = nFBits & FLOAT_FRACTMASK;
Eike, can you please have a look on this ?
This one skipped my attention being unconfirmed, adjusted my query.. Of course you're right, this is a bug. And it confirms that either no one used that function to convert floats to strings so far, or wasn't interested in the results.
fixed in sal/rtl/source/strimp.c 1.4 However, not checked in for any other branch, someone familiar with the UDK should decide if and where the fix is needed. The function isn't used in Office code but may be relevant in UDK context, if someone really used floats.. Forwarding to JBU
jbu->sb: Something for you, I think
I'm planning to replace the rtl code to translate between [u]string and float/double with code from tools/solmath (by moving that code to sal) in the next days, which will obsolete this bug (and I will set this bug to FIXED than). But thanks anyway, Roger :)
As already explained, setting this to FIXED now (as it has been obsoleted by StarOffice-internal bugfix #103888#.
closed