summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2013-11-23 19:31:24 +0100
committerEike Rathke <erack@redhat.com>2013-11-29 11:12:20 -0600
commit8539039e0c108da7d0306c37962415ce7e271c84 (patch)
treef89a8992c602bcdef28bc4063bd495f568347b57 /include
parentd694313b57f2edca8fb04cd8655476df6d879784 (diff)
fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISE
Change-Id: I96f6beb34c1ce7f7191c6e9d379145ba98320c87 Reviewed-on: https://gerrit.libreoffice.org/6775 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/formula/compiler.hrc7
-rw-r--r--include/formula/opcode.hxx3
2 files changed, 8 insertions, 2 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 9bda945bae51..b71c74655eda 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -192,7 +192,8 @@
#define SC_OPCODE_UNICODE 159
#define SC_OPCODE_UNICHAR 160
#define SC_OPCODE_GAMMA 161
-#define SC_OPCODE_STOP_1_PAR 162
+#define SC_OPCODE_GAMMA_LN_MS 162
+#define SC_OPCODE_STOP_1_PAR 163
/*** Functions with more than one parameters ***/
#define SC_OPCODE_START_2_PAR 201
@@ -434,8 +435,10 @@
#define SC_OPCODE_HYP_GEOM_DIST_MS 436
#define SC_OPCODE_POISSON_DIST_MS 437
#define SC_OPCODE_WEIBULL_MS 438
+#define SC_OPCODE_GAMMA_DIST_MS 439
+#define SC_OPCODE_GAMMA_INV_MS 440
-#define SC_OPCODE_STOP_2_PAR 439 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_STOP_2_PAR 441 /* 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 58f3d4188ba5..18e2a34212ef 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -173,6 +173,7 @@ enum OpCodeEnum
ocFisherInv = SC_OPCODE_FISHER_INV,
ocSNormInv = SC_OPCODE_S_NORM_INV,
ocGammaLn = SC_OPCODE_GAMMA_LN,
+ ocGammaLn_MS = SC_OPCODE_GAMMA_LN_MS,
ocGamma = SC_OPCODE_GAMMA,
ocErrorType = SC_OPCODE_ERROR_TYPE,
ocErrCell = SC_OPCODE_ERR_CELL,
@@ -385,7 +386,9 @@ enum OpCodeEnum
ocChiInv = SC_OPCODE_CHI_INV,
ocChiInv_MS = SC_OPCODE_CHI_INV_MS,
ocGammaDist = SC_OPCODE_GAMMA_DIST,
+ ocGammaDist_MS = SC_OPCODE_GAMMA_DIST_MS,
ocGammaInv = SC_OPCODE_GAMMA_INV,
+ ocGammaInv_MS = SC_OPCODE_GAMMA_INV_MS,
ocTInv = SC_OPCODE_T_INV,
ocFInv = SC_OPCODE_F_INV,
ocFInv_LT = SC_OPCODE_F_INV_LT,