https://bugs.freedesktop.org/show_bug.cgi?id=44076

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Regina Henschel <[email protected]> 2011-12-29 
12:26:10 PST ---
The problem has been discussed in OOo too;
https://issues.apache.org/ooo/show_bug.cgi?id=37129

If you will keep rule a^(r*s) = (a^r)^s you cannot allow negative basis a.

Excel does not allow arbitrary fractions but tests only for unit fraction. That
is not difficult. The highest such converted number is 1/(2^31-3) in Excel;
1/(2^31-1) fails. 

So the question is, whether LO should implement Excels behavior for easier
converting from Excel. ODF1.2 says "POWER(a,b), where a<=0 and INT(b)!=b, is
implementation-defined." in chapter 6.16.46. So the standard allows such
solution.

If you want to use arbitrary fractions, the class TOOLS_DLLPUBLIC Fraction from
fract.hxx in tools might be useful.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to