diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2013-11-07 17:27:20 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-11-08 11:34:04 -0600 |
commit | 75601529a807f15fa648c22e3636281981cd7623 (patch) | |
tree | eb253c4c697a8e6a2d48d0bb1f6b9d4e8f9e0edc /include/formula | |
parent | Don't unnecessarily wrap RuntimeExceptions (diff) | |
download | core-75601529a807f15fa648c22e3636281981cd7623.tar.gz core-75601529a807f15fa648c22e3636281981cd7623.zip |
fdo#70797 add Excel 2010 functions
CHISQ.DIST, CHISQ.INV, CHISQ.TEST, CHISQ.DIST.RT, CHISQ.INV.RT
Change-Id: If32530a82b2e5fa1aa30a8c80090742be5acf3eb
Reviewed-on: https://gerrit.libreoffice.org/6611
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/compiler.hrc | 7 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index 323d5408fc2f..92a4cfa3c67c 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -418,8 +418,13 @@ #define SC_OPCODE_BETA_INV_MS 420 #define SC_OPCODE_BINOM_DIST_MS 421 #define SC_OPCODE_BINOM_INV 422 +#define SC_OPCODE_CHI_DIST_MS 423 +#define SC_OPCODE_CHI_INV_MS 424 +#define SC_OPCODE_CHI_TEST_MS 425 +#define SC_OPCODE_CHISQ_DIST_MS 426 +#define SC_OPCODE_CHISQ_INV_MS 427 -#define SC_OPCODE_STOP_2_PAR 423 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_STOP_2_PAR 428 /* 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 3c14bae25532..8dcfbe9ebe13 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -327,8 +327,11 @@ enum OpCodeEnum ocTDist = SC_OPCODE_T_DIST, ocFDist = SC_OPCODE_F_DIST, ocChiDist = SC_OPCODE_CHI_DIST, + ocChiDist_MS = SC_OPCODE_CHI_DIST_MS, ocChiSqDist = SC_OPCODE_CHISQ_DIST, + ocChiSqDist_MS = SC_OPCODE_CHISQ_DIST_MS, ocChiSqInv = SC_OPCODE_CHISQ_INV, + ocChiSqInv_MS = SC_OPCODE_CHISQ_INV_MS, ocWeibull = SC_OPCODE_WEIBULL, ocNegBinomVert = SC_OPCODE_NEG_BINOM_VERT, ocKritBinom = SC_OPCODE_KRIT_BINOM, @@ -371,11 +374,13 @@ enum OpCodeEnum ocRKP = SC_OPCODE_RKP, ocForecast = SC_OPCODE_FORECAST, ocChiInv = SC_OPCODE_CHI_INV, + ocChiInv_MS = SC_OPCODE_CHI_INV_MS, ocGammaDist = SC_OPCODE_GAMMA_DIST, ocGammaInv = SC_OPCODE_GAMMA_INV, ocTInv = SC_OPCODE_T_INV, ocFInv = SC_OPCODE_F_INV, ocChiTest = SC_OPCODE_CHI_TEST, + ocChiTest_MS = SC_OPCODE_CHI_TEST_MS, ocLogInv = SC_OPCODE_LOG_INV, ocTableOp = SC_OPCODE_TABLE_OP, ocBetaDist = SC_OPCODE_BETA_DIST, |