diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2014-02-02 12:37:39 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-03-05 05:53:24 -0600 |
commit | e4def6edaa4686e50bbfd4490a4b9ddb928397a4 (patch) | |
tree | 37ca27719617cabc366356d2e4336a2453e09bcb /include | |
parent | c1d9f1ff1868ecd8fa21028c53c5dd357701affe (diff) |
fdo#72197 Add Excel 2010 functions
MODE.SNGL, MODE.MULT, NEGBINOM.DIST, Z.TEST
Change-Id: I55eb05e1ebdb9dbc3ce9ae84e3cdacfdfa112091
Reviewed-on: https://gerrit.libreoffice.org/7776
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/compiler.hrc | 6 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index 1c03f6d50bc4..4566c000f66d 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -456,8 +456,12 @@ #define SC_OPCODE_PERCENT_RANK_EXC 458 #define SC_OPCODE_QUARTILE_EXC 459 #define SC_OPCODE_RANK_AVG 460 +#define SC_OPCODE_MODAL_VALUE_MS 461 +#define SC_OPCODE_MODAL_VALUE_MULTI 462 +#define SC_OPCODE_NEG_BINOM_DIST_MS 463 +#define SC_OPCODE_Z_TEST_MS 464 -#define SC_OPCODE_STOP_2_PAR 461 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_STOP_2_PAR 465 /* last function with two or more parameters' OpCode + 1 */ #define SC_OPCODE_STOP_FUNCTION SC_OPCODE_STOP_2_PAR /* last function's OpCode + 1 */ #define SC_OPCODE_LAST_OPCODE_ID (SC_OPCODE_STOP_FUNCTION - 1) /* last OpCode */ diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx index c754dc70de92..19f644d10f8d 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -347,6 +347,7 @@ enum OpCodeEnum ocWeibull = SC_OPCODE_WEIBULL, ocWeibull_MS = SC_OPCODE_WEIBULL_MS, ocNegBinomVert = SC_OPCODE_NEG_BINOM_VERT, + ocNegBinomDist_MS = SC_OPCODE_NEG_BINOM_DIST_MS, ocKritBinom = SC_OPCODE_KRIT_BINOM, ocKurt = SC_OPCODE_KURT, ocHarMean = SC_OPCODE_HAR_MEAN, @@ -358,7 +359,10 @@ enum OpCodeEnum ocDevSq = SC_OPCODE_DEV_SQ, ocMedian = SC_OPCODE_MEDIAN, ocModalValue = SC_OPCODE_MODAL_VALUE, + ocModalValue_MS = SC_OPCODE_MODAL_VALUE_MS, + ocModalValue_Multi = SC_OPCODE_MODAL_VALUE_MULTI, ocZTest = SC_OPCODE_Z_TEST, + ocZTest_MS = SC_OPCODE_Z_TEST_MS, ocTTest = SC_OPCODE_T_TEST, ocTTest_MS = SC_OPCODE_T_TEST_MS, ocRank = SC_OPCODE_RANK, |