~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to plugins/derivatives/options.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
1049
1049
        /* xgettext:no-c-format */
1050
1050
        F_("@FUNCTION=OPT_RGW\n"
1051
1051
 
1052
 
           "@SYNTAX=OPT_RGW(call_put_flag,spot,strike,t1,t2,rate,d,volatility)"
 
1052
           "@SYNTAX=OPT_RGW(spot,strike,t1,t2,rate,d,volatility)"
1053
1053
           "\n"
1054
1054
           "@DESCRIPTION="
1055
 
           "OPT_RGW models the theoretical price of an american option according to "
 
1055
           "OPT_RGW models the theoretical price of an American option according to "
1056
1056
           "the Roll-Geske-Whaley approximation where: \n"
1057
 
           "@call_put_flag is 'c' or 'p' to indicate whether the option is a call or a put.\n"
1058
1057
 
1059
1058
           "@spot is the spot price of the underlying asset.\n"
1060
1059
           "@strike is the strike price at which the option is struck.\n"
1061
1060
           "@t1 is the time to the dividend payout.\n"
1062
1061
           "@t2 is the time to option expiration.\n"
1063
1062
           "@rate is the annualized rate of interest.\n"
1064
 
           "@d is the amount of the dividend to be paid.\n"
 
1063
           "@d is the amount of the dividend to be paid expressed in currency.\n"
1065
1064
           "@volatility is the annualized rate of volatility of the underlying asset.\n"
1066
1065
           "\n"
1067
1066
           "@EXAMPLES=\n"
1295
1294
           "@SYNTAX=OPT_BJER_STENS(call_put_flag,spot,strike,time,rate,"
1296
1295
           "volatility[,cost_of_carry])\n"
1297
1296
           "@DESCRIPTION="
1298
 
           "OPT_BJER_STENS models the theoretical price of american options "
 
1297
           "OPT_BJER_STENS models the theoretical price of American options "
1299
1298
           "according to the Bjerksund & Stensland approximation technique.\n"
1300
1299
           "@call_put_flag is 'c' or 'p' to indicate whether the option is a call or a put.\n"
1301
1300
           "@spot is the spot price of the underlying asset.\n"
2351
2350
          GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_BASIC },
2352
2351
 
2353
2352
        { "opt_rgw",
2354
 
          "fffffff", N_("call_put_flag, spot, strike, t1, t2, rate, d, volatility"),
 
2353
          "fffffff", N_("spot, strike, t1, t2, rate, d, volatility"),
2355
2354
          help_opt_rgw, opt_rgw, NULL, NULL, NULL, NULL,
2356
2355
          GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_UNIQUE_TO_GNUMERIC, GNM_FUNC_TEST_STATUS_BASIC },
2357
2356