diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2013-12-29 16:16:42 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-01-27 14:14:19 +0000 |
commit | 5b1e440304c271e4286255c17a6fe475899bd94f (patch) | |
tree | b5effcd08b298676c72f315e048889d3f76e1a2e /include/formula | |
parent | 271011ff347790ae2b045cfd8035512cedeefb1b (diff) |
fdo#72793 Add Excel 2010 functions
T.DIST, T.DIST.2T, T.DIST.RT, T.INV, T.INV.2T, T.TEST
Also, fixed some incorrect string assignments in
formula/source/core/resource/core_resource.src from previously
added Excel 2010 functions.
Change-Id: Ia4d13e7597d2a054d345a08b66b878f91c43f872
Reviewed-on: https://gerrit.libreoffice.org/7226
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 | 8 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index ffab76715c45..c4c20c27cff6 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -442,8 +442,14 @@ #define SC_OPCODE_NORM_INV_MS 444 #define SC_OPCODE_STD_NORM_DIST_MS 445 #define SC_OPCODE_S_NORM_INV_MS 446 +#define SC_OPCODE_T_DIST_MS 447 +#define SC_OPCODE_T_DIST_RT 448 +#define SC_OPCODE_T_DIST_2T 449 +#define SC_OPCODE_T_INV_2T 450 +#define SC_OPCODE_T_INV_MS 451 +#define SC_OPCODE_T_TEST_MS 452 -#define SC_OPCODE_STOP_2_PAR 447 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_STOP_2_PAR 453 /* 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 ce6fd1529996..bc7fe0fa6d84 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -332,6 +332,9 @@ enum OpCodeEnum ocLogNormDist = SC_OPCODE_LOG_NORM_DIST, ocLogNormDist_MS = SC_OPCODE_LOG_NORM_DIST_MS, ocTDist = SC_OPCODE_T_DIST, + ocTDist_MS = SC_OPCODE_T_DIST_MS, + ocTDist_RT = SC_OPCODE_T_DIST_RT, + ocTDist_2T = SC_OPCODE_T_DIST_2T, ocFDist = SC_OPCODE_F_DIST, ocFDist_LT = SC_OPCODE_F_DIST_LT, ocFDist_RT = SC_OPCODE_F_DIST_RT, @@ -357,6 +360,7 @@ enum OpCodeEnum ocModalValue = SC_OPCODE_MODAL_VALUE, ocZTest = SC_OPCODE_Z_TEST, ocTTest = SC_OPCODE_T_TEST, + ocTTest_MS = SC_OPCODE_T_TEST_MS, ocRank = SC_OPCODE_RANK, ocPercentile = SC_OPCODE_PERCENTILE, ocPercentrank = SC_OPCODE_PERCENT_RANK, @@ -394,6 +398,8 @@ enum OpCodeEnum ocGammaInv = SC_OPCODE_GAMMA_INV, ocGammaInv_MS = SC_OPCODE_GAMMA_INV_MS, ocTInv = SC_OPCODE_T_INV, + ocTInv_2T = SC_OPCODE_T_INV_2T, + ocTInv_MS = SC_OPCODE_T_INV_MS, ocFInv = SC_OPCODE_F_INV, ocFInv_LT = SC_OPCODE_F_INV_LT, ocFInv_RT = SC_OPCODE_F_INV_RT, |