diff options
author | Pedro Giffuni <pfg@apache.org> | 2013-02-08 15:31:55 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2013-02-08 15:31:55 +0000 |
commit | 908088f614cda46d9c996e40579611df27276394 (patch) | |
tree | 5fadf95c1d1cb99eb421d90ea5d5ed4e5494159b /sal/util/sal.map | |
parent | 94763a569193246d24935fb28f0cf10bffcea2b4 (diff) |
i114430 - AOO Calc: 0^0=1 and it should be indeterminate.
Many spreadsheets and math packages set the value of POWER( 0, 0)
to 1 as that sometimes is required for some calculations. This
is also done by the standard C99 libc pow() function.
In mathematical terms the value is an indeterminate form and
in strict mathematical sense such value should at least be
considered with caution.
OpenFormula permits implementation defined values of 0, 1
or error in this case. We shall now return NaN.
Clean some headers while here.
Notes
Notes:
reject: 0^0=1 back-compat.
Diffstat (limited to 'sal/util/sal.map')
-rw-r--r-- | sal/util/sal.map | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sal/util/sal.map b/sal/util/sal.map index 5a86333fbab2..671ef49be104 100644 --- a/sal/util/sal.map +++ b/sal/util/sal.map @@ -625,10 +625,12 @@ UDK_3.11 { # AOO 3.4 osl_setThreadName; } UDK_3.10; -UDK_3.12 { # AOO 3.5 +UDK_3.12 { # AOO 4.0 global: osl_loadAsciiModule; osl_loadAsciiModuleRelative; + + rtl_math_powr; } UDK_3.11; PRIVATE_1.0 { |