[gnumeric] fix some function descriptions



commit 61f9ae67c7505acdd0c2587512bff4ee48be613e
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Wed Aug 5 17:36:12 2009 -0600

    fix some function descriptions
    
     2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* functions.c (help_besselj): fix spelling
    	(help_bessely): ditto
    
    2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	Fixes part of [#312746]
    	* derivatives.c (help_opt_extendible_writer): clarify
    	(help_opt_float_strk_lkbk): simplify and spell out the option
    	  type
    	(help_opt_fixed_strk_lkbk): ditto

 plugins/derivatives/ChangeLog |    8 ++++++++
 plugins/derivatives/options.c |   21 ++++++++++++---------
 plugins/fn-eng/ChangeLog      |    5 +++++
 plugins/fn-eng/functions.c    |    4 ++--
 4 files changed, 27 insertions(+), 11 deletions(-)
---
diff --git a/plugins/derivatives/ChangeLog b/plugins/derivatives/ChangeLog
index 3c5fe45..342e461 100644
--- a/plugins/derivatives/ChangeLog
+++ b/plugins/derivatives/ChangeLog
@@ -1,5 +1,13 @@
 2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	Fixes part of [#312746]
+	* derivatives.c (help_opt_extendible_writer): clarify
+	(help_opt_float_strk_lkbk): simplify and spell out the option
+	  type
+	(help_opt_fixed_strk_lkbk): ditto
+
+2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* derivatives.c (help_*): convert to "new" style
 
 2009-06-20  Morten Welinder <terra gnome org>
diff --git a/plugins/derivatives/options.c b/plugins/derivatives/options.c
index 8fc34b2..ec75183 100644
--- a/plugins/derivatives/options.c
+++ b/plugins/derivatives/options.c
@@ -1571,8 +1571,8 @@ static GnmFuncHelp const help_opt_extendible_writer[] = {
 	DEF_ARG_CC,
 	DEF_ARG_VOLATILITY_SHORT,
 	{ GNM_FUNC_HELP_DESCRIPTION, F_("OPT_EXTENDIBLE_WRITER models the theoretical price of extendible "
-					"writer options. These are options that can be exercised at an initial "
-					"period, @{time1}, or their maturity extended to @{time2} if the option is "
+					"writer options. These are options that have their maturity "
+					"extended to @{time2} if the option is "
 					"out of the money at @{time1}.")},
         { GNM_FUNC_HELP_SEEALSO, "OPT_BS,OPT_BS_DELTA,OPT_BS_RHO,OPT_BS_THETA,OPT_BS_GAMMA"},
         { GNM_FUNC_HELP_END}
@@ -1798,9 +1798,7 @@ opt_float_strk_lkbk(GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 }
 
 static GnmFuncHelp const help_opt_float_strk_lkbk[] = {
-	{ GNM_FUNC_HELP_NAME, F_("OPT_FLOAT_STRK_LKBK:theoretical price of an option where the holder "
-				 "of the option may exercise on expiry at the most favourable price "
-				 "observed during the options life of the underlying asset")},
+	{ GNM_FUNC_HELP_NAME, F_("OPT_FLOAT_STRK_LKBK:theoretical price of floating-strike lookback option")},
 	DEF_ARG_CALL_PUT_FLAG,
 	DEF_ARG_SPOT,
         { GNM_FUNC_HELP_ARG, F_("spot_min:minimum spot price of the underlying asset so far observed")},
@@ -1809,6 +1807,10 @@ static GnmFuncHelp const help_opt_float_strk_lkbk[] = {
 	DEF_ARG_RATE_RISKFREE_ANN,
 	DEF_ARG_CC,
         DEF_ARG_VOLATILITY_SHORT,
+	{ GNM_FUNC_HELP_DESCRIPTION, F_("OPT_FLOAT_STRK_LKBK determines the theoretical price of a "
+					"floating-strike lookback option where the holder "
+					"of the option may exercise on expiry at the most favourable price "
+					"observed during the options life of the underlying asset.")},
         { GNM_FUNC_HELP_SEEALSO, "OPT_BS,OPT_BS_DELTA,OPT_BS_RHO,OPT_BS_THETA,OPT_BS_GAMMA"},
         { GNM_FUNC_HELP_END}
 };
@@ -1860,10 +1862,7 @@ opt_fixed_strk_lkbk(GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 }
 
 static GnmFuncHelp const help_opt_fixed_strk_lkbk[] = {
-	{ GNM_FUNC_HELP_NAME, F_("OPT_FIXED_STRK_LKBK:theoretical price of an option "
-					"where the holder of the option may exercise on expiry at the "
-					"most favourable price observed during the options life of the "
-					"underlying asset.")},
+	{ GNM_FUNC_HELP_NAME, F_("OPT_FIXED_STRK_LKBK:theoretical price of a fixed-strike lookback option")},
 	DEF_ARG_CALL_PUT_FLAG,
 	DEF_ARG_SPOT,
         { GNM_FUNC_HELP_ARG, F_("spot_min:minimum spot price of the underlying asset so far observed")},
@@ -1873,6 +1872,10 @@ static GnmFuncHelp const help_opt_fixed_strk_lkbk[] = {
 	DEF_ARG_RATE_RISKFREE_ANN,
 	DEF_ARG_CC,
         DEF_ARG_VOLATILITY_SHORT,
+	{ GNM_FUNC_HELP_DESCRIPTION, F_("OPT_FIXED_STRK_LKBK determines the theoretical price of a "
+					"fixed-strike lookback option where the holder "
+					"of the option may exercise on expiry at the most favourable price "
+					"observed during the options life of the underlying asset.")},
         { GNM_FUNC_HELP_SEEALSO, "OPT_BS,OPT_BS_DELTA,OPT_BS_RHO,OPT_BS_THETA,OPT_BS_GAMMA"},
         { GNM_FUNC_HELP_END}
 };
diff --git a/plugins/fn-eng/ChangeLog b/plugins/fn-eng/ChangeLog
index c4fd25d..ef93aa2 100644
--- a/plugins/fn-eng/ChangeLog
+++ b/plugins/fn-eng/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* functions.c (help_besselj): fix spelling
+	(help_bessely): ditto
+
 2009-07-27  Morten Welinder  <terra gnome org>
 
 	* functions.c (gnumeric_hex2dec): Fix maximum.
diff --git a/plugins/fn-eng/functions.c b/plugins/fn-eng/functions.c
index e824e62..f0f2619 100644
--- a/plugins/fn-eng/functions.c
+++ b/plugins/fn-eng/functions.c
@@ -604,7 +604,7 @@ gnumeric_besselk (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 /***************************************************************************/
 
 static GnmFuncHelp const help_besselj[] = {
-        { GNM_FUNC_HELP_NAME, F_("BESSELJ:Bessel functionn of the first kind of order @{\xce\xb1} at @{x}") },
+        { GNM_FUNC_HELP_NAME, F_("BESSELJ:Bessel function of the first kind of order @{\xce\xb1} at @{x}") },
         { GNM_FUNC_HELP_ARG, F_("X:number") },
         { GNM_FUNC_HELP_ARG, F_("\xce\xb1:order (any non-negative integer)") },
 	{ GNM_FUNC_HELP_NOTE, F_("If @{x} or @{\xce\xb1} are not numeric, #VALUE! is returned. "
@@ -633,7 +633,7 @@ gnumeric_besselj (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 /***************************************************************************/
 
 static GnmFuncHelp const help_bessely[] = {
-        { GNM_FUNC_HELP_NAME, F_("BESSELJ:Bessel functionn of the second kind of order @{\xce\xb1} at @{x}") },
+        { GNM_FUNC_HELP_NAME, F_("BESSELJ:Bessel function of the second kind of order @{\xce\xb1} at @{x}") },
         { GNM_FUNC_HELP_ARG, F_("X:number") },
         { GNM_FUNC_HELP_ARG, F_("\xce\xb1:order (any non-negative integer)") },
 	{ GNM_FUNC_HELP_NOTE, F_("If @{x} or @{\xce\xb1} are not numeric, #VALUE! is returned. "



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]