summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2013-12-01 12:40:41 +0100
committerEike Rathke <erack@redhat.com>2013-12-16 20:25:45 +0000
commit924f9d7ea89899848dba512a428e5f64e44ee534 (patch)
tree0ca63f18f14a266910227448e1be6a0bac0f4748 /include/formula
parent70ce8987feeb06255eaeb7663bb076a8f4e0593f (diff)
fdo#72158 Add Excel 2010 functions
LOGNORM.DIST, LOGNORM.INV, NORM.DIST, NORM.INV, NORM.S.DIST, NORM.S.INV Change-Id: I695e0645642af1757a1dd7d7f0f15c9515e21309 Reviewed-on: https://gerrit.libreoffice.org/6883 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.hrc8
-rw-r--r--include/formula/opcode.hxx6
2 files changed, 13 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index 7dacf30739a6..3b7207c5883d 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -436,8 +436,14 @@
#define SC_OPCODE_WEIBULL_MS 438
#define SC_OPCODE_GAMMA_DIST_MS 439
#define SC_OPCODE_GAMMA_INV_MS 440
+#define SC_OPCODE_LOG_NORM_DIST_MS 441
+#define SC_OPCODE_LOG_INV_MS 442
+#define SC_OPCODE_NORM_DIST_MS 443
+#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_STOP_2_PAR 441 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_STOP_2_PAR 447 /* 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 0b08532ae439..d978a2654834 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -169,9 +169,11 @@ enum OpCodeEnum
ocEven = SC_OPCODE_EVEN,
ocOdd = SC_OPCODE_ODD,
ocStdNormDist = SC_OPCODE_STD_NORM_DIST,
+ ocStdNormDist_MS = SC_OPCODE_STD_NORM_DIST_MS,
ocFisher = SC_OPCODE_FISHER,
ocFisherInv = SC_OPCODE_FISHER_INV,
ocSNormInv = SC_OPCODE_S_NORM_INV,
+ ocSNormInv_MS = SC_OPCODE_S_NORM_INV_MS,
ocGammaLn = SC_OPCODE_GAMMA_LN,
ocGammaLn_MS = SC_OPCODE_GAMMA_LN_MS,
ocGamma = SC_OPCODE_GAMMA,
@@ -228,6 +230,7 @@ enum OpCodeEnum
ocStDevS = SC_OPCODE_ST_DEV_S,
ocB = SC_OPCODE_B,
ocNormDist = SC_OPCODE_NORM_DIST,
+ ocNormDist_MS = SC_OPCODE_NORM_DIST_MS,
ocExpDist = SC_OPCODE_EXP_DIST,
ocExpDist_MS = SC_OPCODE_EXP_DIST_MS,
ocBinomDist = SC_OPCODE_BINOM_DIST,
@@ -327,6 +330,7 @@ enum OpCodeEnum
ocHypGeomDist = SC_OPCODE_HYP_GEOM_DIST,
ocHypGeomDist_MS = SC_OPCODE_HYP_GEOM_DIST_MS,
ocLogNormDist = SC_OPCODE_LOG_NORM_DIST,
+ ocLogNormDist_MS = SC_OPCODE_LOG_NORM_DIST_MS,
ocTDist = SC_OPCODE_T_DIST,
ocFDist = SC_OPCODE_F_DIST,
ocFDist_LT = SC_OPCODE_F_DIST_LT,
@@ -361,6 +365,7 @@ enum OpCodeEnum
ocFrequency = SC_OPCODE_FREQUENCY,
ocQuartile = SC_OPCODE_QUARTILE,
ocNormInv = SC_OPCODE_NORM_INV,
+ ocNormInv_MS = SC_OPCODE_NORM_INV_MS,
ocConfidence = SC_OPCODE_CONFIDENCE,
ocConfidence_N = SC_OPCODE_CONFIDENCE_N,
ocConfidence_T = SC_OPCODE_CONFIDENCE_T,
@@ -395,6 +400,7 @@ enum OpCodeEnum
ocChiTest = SC_OPCODE_CHI_TEST,
ocChiTest_MS = SC_OPCODE_CHI_TEST_MS,
ocLogInv = SC_OPCODE_LOG_INV,
+ ocLogInv_MS = SC_OPCODE_LOG_INV_MS,
ocTableOp = SC_OPCODE_TABLE_OP,
ocBetaDist = SC_OPCODE_BETA_DIST,
ocBetaInv = SC_OPCODE_BETA_INV,