Commit a2430218 authored by Jody Goldberg's avatar Jody Goldberg

update translations

parent 32766322
......@@ -1477,131 +1477,131 @@ gnumeric_imsum (FunctionEvalInfo *ei, GnmExprList *expr_node_list)
/***************************************************************************/
GnmFuncDescriptor const complex_functions[] = {
{ "complex", "ff|s", "real,im[,suffix]", &help_complex,
{ "complex", "ff|s", N_("real,im[,suffix]"), &help_complex,
gnumeric_complex, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imabs", "S", "inumber", &help_imabs,
{ "imabs", "S", N_("inumber"), &help_imabs,
gnumeric_imabs, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imaginary", "S", "inumber", &help_imaginary,
{ "imaginary", "S", N_("inumber"), &help_imaginary,
gnumeric_imaginary, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imargument", "S", "inumber", &help_imargument,
{ "imargument", "S", N_("inumber"), &help_imargument,
gnumeric_imargument, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imconjugate", "S", "inumber", &help_imconjugate,
{ "imconjugate", "S", N_("inumber"), &help_imconjugate,
gnumeric_imconjugate, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcos", "S", "inumber", &help_imcos,
{ "imcos", "S", N_("inumber"), &help_imcos,
gnumeric_imcos, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imdiv", "SS", "inumber,inumber", &help_imdiv,
{ "imdiv", "SS", N_("inumber,inumber"), &help_imdiv,
gnumeric_imdiv, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imexp", "S", "inumber", &help_imexp,
{ "imexp", "S", N_("inumber"), &help_imexp,
gnumeric_imexp, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imln", "S", "inumber", &help_imln,
{ "imln", "S", N_("inumber"), &help_imln,
gnumeric_imln, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imlog10", "S", "inumber", &help_imlog10,
{ "imlog10", "S", N_("inumber"), &help_imlog10,
gnumeric_imlog10, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imlog2", "S", "inumber", &help_imlog2,
{ "imlog2", "S", N_("inumber"), &help_imlog2,
gnumeric_imlog2, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "impower", "SS", "inumber,inumber", &help_impower,
{ "impower", "SS", N_("inumber,inumber"), &help_impower,
gnumeric_impower, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imreal", "S", "inumber", &help_imreal,
{ "imreal", "S", N_("inumber"), &help_imreal,
gnumeric_imreal, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsin", "S", "inumber", &help_imsin,
{ "imsin", "S", N_("inumber"), &help_imsin,
gnumeric_imsin, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsqrt", "S", "inumber", &help_imsqrt,
{ "imsqrt", "S", N_("inumber"), &help_imsqrt,
gnumeric_imsqrt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsub", "SS", "inumber,inumber", &help_imsub,
{ "imsub", "SS", N_("inumber,inumber"), &help_imsub,
gnumeric_imsub, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsum", NULL, "inumber,inumber", &help_imsum,
{ "imsum", NULL, N_("inumber,inumber"), &help_imsum,
NULL, gnumeric_imsum, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "iminv", "S", "inumber", &help_iminv,
{ "iminv", "S", N_("inumber"), &help_iminv,
gnumeric_iminv, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_BASIC },
{ "imneg", "S", "inumber", &help_imneg,
{ "imneg", "S", N_("inumber"), &help_imneg,
gnumeric_imneg, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imtan", "S", "inumber", &help_imtan,
{ "imtan", "S", N_("inumber"), &help_imtan,
gnumeric_imtan, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "improduct", NULL, "inumber,inumber", &help_improduct,
{ "improduct", NULL, N_("inumber,inumber"), &help_improduct,
NULL, gnumeric_improduct, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsec", "S", "inumber", &help_imsec,
{ "imsec", "S", N_("inumber"), &help_imsec,
gnumeric_imsec, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcsc", "S", "inumber", &help_imcsc,
{ "imcsc", "S", N_("inumber"), &help_imcsc,
gnumeric_imcsc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcot", "S", "inumber", &help_imcot,
{ "imcot", "S", N_("inumber"), &help_imcot,
gnumeric_imcot, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsinh", "S", "inumber", &help_imsinh,
{ "imsinh", "S", N_("inumber"), &help_imsinh,
gnumeric_imsinh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcosh", "S", "inumber", &help_imcosh,
{ "imcosh", "S", N_("inumber"), &help_imcosh,
gnumeric_imcosh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imtanh", "S", "inumber", &help_imtanh,
{ "imtanh", "S", N_("inumber"), &help_imtanh,
gnumeric_imtanh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imsech", "S", "inumber", &help_imsech,
{ "imsech", "S", N_("inumber"), &help_imsech,
gnumeric_imsech, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcsch", "S", "inumber", &help_imcsch,
{ "imcsch", "S", N_("inumber"), &help_imcsch,
gnumeric_imcsch, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imcoth", "S", "inumber", &help_imcoth,
{ "imcoth", "S", N_("inumber"), &help_imcoth,
gnumeric_imcoth, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarcsin", "S", "inumber", &help_imarcsin,
{ "imarcsin", "S", N_("inumber"), &help_imarcsin,
gnumeric_imarcsin, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccos", "S", "inumber", &help_imarccos,
{ "imarccos", "S", N_("inumber"), &help_imarccos,
gnumeric_imarccos, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarctan", "S", "inumber", &help_imarctan,
{ "imarctan", "S", N_("inumber"), &help_imarctan,
gnumeric_imarctan, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarcsec", "S", "inumber", &help_imarcsec,
{ "imarcsec", "S", N_("inumber"), &help_imarcsec,
gnumeric_imarcsec, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccsc", "S", "inumber", &help_imarccsc,
{ "imarccsc", "S", N_("inumber"), &help_imarccsc,
gnumeric_imarccsc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccot", "S", "inumber", &help_imarccot,
{ "imarccot", "S", N_("inumber"), &help_imarccot,
gnumeric_imarccot, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarcsinh", "S", "inumber", &help_imarcsinh,
{ "imarcsinh", "S", N_("inumber"), &help_imarcsinh,
gnumeric_imarcsinh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccosh", "S", "inumber", &help_imarccosh,
{ "imarccosh", "S", N_("inumber"), &help_imarccosh,
gnumeric_imarccosh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarctanh", "S", "inumber", &help_imarctanh,
{ "imarctanh", "S", N_("inumber"), &help_imarctanh,
gnumeric_imarctanh, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarcsech", "S", "inumber", &help_imarcsech,
{ "imarcsech", "S", N_("inumber"), &help_imarcsech,
gnumeric_imarcsech, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccsch", "S", "inumber", &help_imarccsch,
{ "imarccsch", "S", N_("inumber"), &help_imarccsch,
gnumeric_imarccsch, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "imarccoth", "S", "inumber", &help_imarccoth,
{ "imarccoth", "S", N_("inumber"), &help_imarccoth,
gnumeric_imarccoth, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{NULL}
......
......@@ -1213,43 +1213,43 @@ gnumeric_getpivotdata (FunctionEvalInfo *ei, Value **argv)
/***************************************************************************/
const GnmFuncDescriptor database_functions[] = {
{ "daverage", "r?r", "database,field,criteria",
{ "daverage", "r?r", N_("database,field,criteria"),
&help_daverage, gnumeric_daverage, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dcount", "r?r", "database,field,criteria",
{ "dcount", "r?r", N_("database,field,criteria"),
&help_dcount, gnumeric_dcount, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dcounta", "r?r", "database,field,criteria",
{ "dcounta", "r?r", N_("database,field,criteria"),
&help_dcounta, gnumeric_dcounta, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dget", "r?r", "database,field,criteria",
{ "dget", "r?r", N_("database,field,criteria"),
&help_dget, gnumeric_dget, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dmax", "r?r", "database,field,criteria",
{ "dmax", "r?r", N_("database,field,criteria"),
&help_dmax, gnumeric_dmax, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dmin", "r?r", "database,field,criteria",
{ "dmin", "r?r", N_("database,field,criteria"),
&help_dmin, gnumeric_dmin, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dproduct", "r?r", "database,field,criteria",
{ "dproduct", "r?r", N_("database,field,criteria"),
&help_dproduct, gnumeric_dproduct, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dstdev", "r?r", "database,field,criteria",
{ "dstdev", "r?r", N_("database,field,criteria"),
&help_dstdev, gnumeric_dstdev, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dstdevp", "r?r", "database,field,criteria",
{ "dstdevp", "r?r", N_("database,field,criteria"),
&help_dstdevp, gnumeric_dstdevp, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dsum", "r?r", "database,field,criteria",
{ "dsum", "r?r", N_("database,field,criteria"),
&help_dsum, gnumeric_dsum, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dvar", "r?r", "database,field,criteria",
{ "dvar", "r?r", N_("database,field,criteria"),
&help_dvar, gnumeric_dvar, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dvarp", "r?r", "database,field,criteria",
{ "dvarp", "r?r", N_("database,field,criteria"),
&help_dvarp, gnumeric_dvarp, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "getpivotdata", "rs", "pivot_table,field_name",
{ "getpivotdata", "rs", N_("pivot_table,field_name"),
&help_getpivotdata, gnumeric_getpivotdata, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
......
......@@ -1295,83 +1295,83 @@ gnumeric_yearfrac (FunctionEvalInfo *ei, Value **argv)
/***************************************************************************/
GnmFuncDescriptor const datetime_functions[] = {
{ "date", "fff", "year,month,day", &help_date,
{ "date", "fff", N_("year,month,day"), &help_date,
gnumeric_date, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "datevalue", "f", "date_str", &help_datevalue,
{ "datevalue", "f", N_("date_str"), &help_datevalue,
gnumeric_datevalue, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "datedif", "ffs", "date1,date2,Interval", &help_datedif,
{ "datedif", "ffs", N_("date1,date2,Interval"), &help_datedif,
gnumeric_datedif, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "day", "f", "date", &help_day,
{ "day", "f", N_("date"), &help_day,
gnumeric_day, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "days360", "ff|f", "date1,date2,method", &help_days360,
{ "days360", "ff|f", N_("date1,date2,method"), &help_days360,
gnumeric_days360, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "edate", "ff", "serial_number,months", &help_edate,
{ "edate", "ff", N_("serial_number,months"), &help_edate,
gnumeric_edate, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "eomonth", "f|f", "start_date,months", &help_eomonth,
{ "eomonth", "f|f", N_("start_date,months"), &help_eomonth,
gnumeric_eomonth, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "hour", "f", "time", &help_hour,
{ "hour", "f", N_("time"), &help_hour,
gnumeric_hour, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "minute", "f", "time", &help_minute,
{ "minute", "f", N_("time"), &help_minute,
gnumeric_minute, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "month", "f", "date", &help_month,
{ "month", "f", N_("date"), &help_month,
gnumeric_month, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "networkdays", "ff|?", "start_date,end_date,holidays",
{ "networkdays", "ff|?", N_("start_date,end_date,holidays"),
&help_networkdays, gnumeric_networkdays, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "now", "", "", &help_now,
gnumeric_now, NULL, NULL, NULL, NULL,
GNM_FUNC_VOLATILE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "second", "f", "time", &help_second,
{ "second", "f", N_("time"), &help_second,
gnumeric_second, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "time", "fff", "hours,minutes,seconds", &help_time,
{ "time", "fff", N_("hours,minutes,seconds"), &help_time,
gnumeric_time, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "timevalue", "f", "", &help_timevalue,
{ "timevalue", "f", N_("timetext"), &help_timevalue,
gnumeric_timevalue, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "today", "", "", &help_today,
gnumeric_today, NULL, NULL, NULL, NULL,
GNM_FUNC_VOLATILE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "weekday", "f|f", "date", &help_weekday,
{ "weekday", "f|f", N_("date"), &help_weekday,
gnumeric_weekday, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "weeknum", "f|f", "date", &help_weeknum,
{ "weeknum", "f|f", N_("date"), &help_weeknum,
gnumeric_weeknum, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "workday", "ff|?", "date,days,holidays", &help_workday,
{ "workday", "ff|?", N_("date,days,holidays"), &help_workday,
gnumeric_workday, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "year", "f", "date", &help_year,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_SUBSET, GNM_FUNC_TEST_STATUS_BASIC },
{ "year", "f", N_("date"), &help_year,
gnumeric_year, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
/* TODO UNIMPLEMENTED and UNTESTED seems new to XL 2k */
{ "yearfrac", "ff|f", "date", &help_yearfrac,
{ "yearfrac", "ff|f", N_("date"), &help_yearfrac,
gnumeric_yearfrac, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_UNIMPLEMENTED, GNM_FUNC_TEST_STATUS_UNTESTED },
{ "unix2date", "f", "unixtime", &help_unix2date,
{ "unix2date", "f", N_("unixtime"), &help_unix2date,
gnumeric_unix2date, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_BASIC },
{ "date2unix", "f", "serial", &help_date2unix,
{ "date2unix", "f", N_("serial"), &help_date2unix,
gnumeric_date2unix, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_BASIC },
{ "isoweeknum", "f", "date", &help_isoweeknum,
{ "isoweeknum", "f", N_("date"), &help_isoweeknum,
gnumeric_isoweeknum, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_UNTESTED },
{ "isoyear", "f", "date", &help_isoyear,
{ "isoyear", "f", N_("date"), &help_isoyear,
gnumeric_isoyear, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_UNTESTED },
{NULL}
......
2002-10-15 Jody Goldberg <jody@gnome.org>
* functions.c : convert all of the dates to 'f' rather than '?'
because implicit conversions are handle in the marshaller.
Add some status.
2002-10-14 Morten Welinder <terra@diku.dk>
* functions.c (gnumeric_dollarde): Use floorgnum, not floor.
......
......@@ -3704,137 +3704,177 @@ gnumeric_vdb (FunctionEvalInfo *ei, Value **argv)
/***************************************************************************/
const GnmFuncDescriptor financial_functions[] = {
{ "accrint", "???fff|f",
"issue,first_interest,settlement,rate,par,frequency[,basis]",
&help_accrint, gnumeric_accrint, NULL, NULL, NULL },
{ "accrintm", "??f|ff", "issue,maturity,rate[,par,basis]",
&help_accrintm, gnumeric_accrintm, NULL, NULL, NULL },
{ "amordegrc", "fffffff",
"cost,purchase_date,first_period,salvage,period,rate,basis",
&help_amordegrc, gnumeric_amordegrc, NULL, NULL, NULL },
{ "amorlinc", "fffffff",
"cost,purchase_date,first_period,salvage,period,rate,basis",
&help_amorlinc, gnumeric_amorlinc, NULL, NULL, NULL },
{ "accrint", "ffffff|f", "issue,first_interest,settlement,rate,par,frequency[,basis]",
&help_accrint, gnumeric_accrint, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "accrintm", "fff|ff", "issue,maturity,rate[,par,basis]",
&help_accrintm, gnumeric_accrintm, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "amordegrc", "fffffff", "cost,purchase_date,first_period,salvage,period,rate,basis",
&help_amordegrc, gnumeric_amordegrc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "amorlinc", "fffffff", "cost,purchase_date,first_period,salvage,period,rate,basis",
&help_amorlinc, gnumeric_amorlinc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "coupdaybs", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_coupdaybs, gnumeric_coupdaybs, NULL, NULL, NULL },
&help_coupdaybs, gnumeric_coupdaybs, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "coupdays", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_coupdays, gnumeric_coupdays, NULL, NULL, NULL },
&help_coupdays, gnumeric_coupdays, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "coupdaysnc", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_coupdaysnc, gnumeric_coupdaysnc, NULL, NULL, NULL },
&help_coupdaysnc, gnumeric_coupdaysnc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "coupncd", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_coupncd, gnumeric_coupncd, NULL, NULL, NULL },
&help_coupncd, gnumeric_coupncd, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "coupnum", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_coupnum, gnumeric_coupnum, NULL, NULL, NULL },
&help_coupnum, gnumeric_coupnum, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "couppcd", "fff|fb", "settlement,maturity,frequency[,basis,eom]",
&help_couppcd, gnumeric_couppcd, NULL, NULL, NULL },
&help_couppcd, gnumeric_couppcd, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "cumipmt", "ffffff", "rate,nper,pv,start_period,end_period,type",
&help_cumipmt, gnumeric_cumipmt, NULL, NULL, NULL },
&help_cumipmt, gnumeric_cumipmt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "cumprinc", "ffffff", "rate,nper,pv,start_period,end_period,type",
&help_cumprinc, gnumeric_cumprinc, NULL, NULL, NULL },
&help_cumprinc, gnumeric_cumprinc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "db", "ffff|f", "cost,salvage,life,period[,month]",
&help_db, gnumeric_db, NULL, NULL, NULL },
&help_db, gnumeric_db, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "ddb", "ffff|f", "cost,salvage,life,period[,factor]",
&help_ddb, gnumeric_ddb, NULL, NULL, NULL },
{ "disc", "??ff|f", "settlement,maturity,pr,redemption[,basis]",
&help_disc, gnumeric_disc, NULL, NULL, NULL },
&help_ddb, gnumeric_ddb, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "disc", "ffff|f", "settlement,maturity,pr,redemption[,basis]",
&help_disc, gnumeric_disc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dollarde", "ff", "fractional_dollar,fraction",
&help_dollarde, gnumeric_dollarde, NULL, NULL, NULL },
&help_dollarde, gnumeric_dollarde, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "dollarfr", "ff", "decimal_dollar,fraction",
&help_dollarfr, gnumeric_dollarfr, NULL, NULL, NULL },
{ "duration", "??fff|f", "settlement,maturity,coup,yield,freq,basis",
&help_duration, gnumeric_duration, NULL, NULL, NULL },
&help_dollarfr, gnumeric_dollarfr, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "duration", "fffff|f", "settlement,maturity,coup,yield,freq,basis",
&help_duration, gnumeric_duration, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "effect", "ff", "rate,nper",
&help_effect, gnumeric_effect, NULL, NULL, NULL },
&help_effect, gnumeric_effect, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "euro", "s", "currency",
&help_euro, gnumeric_euro, NULL, NULL, NULL },
&help_euro, gnumeric_euro, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_BASIC },
{ "euroconvert", "fss", "n,source,target",
&help_euroconvert, gnumeric_euroconvert, NULL, NULL, NULL },
&help_euroconvert, gnumeric_euroconvert, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "fv", "fff|ff", "rate,nper,pmt,pv,type",
&help_fv, gnumeric_fv, NULL, NULL, NULL },
&help_fv, gnumeric_fv, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "fvschedule", "fA", "pv,schedule",
&help_fvschedule, gnumeric_fvschedule, NULL, NULL },
&help_fvschedule, gnumeric_fvschedule, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "g_duration", "fff", "rate,pv,fv",
&help_g_duration, gnumeric_g_duration, NULL, NULL, NULL },
{ "intrate", "??ff|f",
"settlement,maturity,investment,redemption[,basis]",
&help_intrate, gnumeric_intrate, NULL, NULL, NULL },
&help_g_duration, gnumeric_g_duration, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_NOT_IN_EXCEL, GNM_FUNC_TEST_STATUS_BASIC },
{ "intrate", "ffff|f", "settlement,maturity,investment,redemption[,basis]",
&help_intrate, gnumeric_intrate, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "ipmt", "ffff|ff", "rate,per,nper,pv,fv,type",
&help_ipmt, gnumeric_ipmt, NULL, NULL, NULL },
&help_ipmt, gnumeric_ipmt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "irr", "A|f", "values[,guess]",
&help_irr, gnumeric_irr, NULL, NULL, NULL },
&help_irr, gnumeric_irr, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "ispmt", "ffff", "rate,per,nper,pv",
&help_ispmt, gnumeric_ispmt, NULL, NULL, NULL },
{ "mduration", "fffff|f",
"settlement,maturify,coupon,yield,frequency[,basis]",
&help_mduration, gnumeric_mduration, NULL, NULL, NULL },
&help_ispmt, gnumeric_ispmt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "mduration", "fffff|f", "settlement,maturify,coupon,yield,frequency[,basis]",
&help_mduration, gnumeric_mduration, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "mirr", "Aff", "values,finance_rate,reinvest_rate",
&help_mirr, gnumeric_mirr, NULL, NULL, NULL },
&help_mirr, gnumeric_mirr, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "nominal", "ff", "rate,nper",
&help_nominal, gnumeric_nominal, NULL, NULL, NULL },
&help_nominal, gnumeric_nominal, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "nper", "fffff", "rate,pmt,pv,fv,type",
&help_nper, gnumeric_nper, NULL, NULL, NULL },
&help_nper, gnumeric_nper, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "npv", 0, "",
&help_npv, NULL, gnumeric_npv, NULL, NULL },
{ "oddfprice", "????fffff",
"settlement,maturity,issue,first_coupon,rate,yld,redemption,"
"frequency,basis",
&help_oddfprice, gnumeric_oddfprice, NULL, NULL, NULL },
{ "oddfyield", "????fffff",
"settlement,maturity,issue,first_coupon,rate,pr,redemption,"
"frequency,basis",
&help_oddfyield, gnumeric_oddfyield, NULL, NULL, NULL },
{ "oddlprice", "???fffff",
"settlement,maturity,last_interest,rate,yld,redemption,"
"frequency,basis",
&help_oddlprice, gnumeric_oddlprice, NULL, NULL, NULL },
{ "oddlyield", "???fffff",
"settlement,maturity,last_interest,rate,pr,redemption,"
"frequency,basis",
&help_oddlyield, gnumeric_oddlyield, NULL, NULL, NULL },
&help_npv, NULL, gnumeric_npv, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "oddfprice", "fffffffff", "settlement,maturity,issue,first_coupon,rate,yld,redemption,frequency,basis",
&help_oddfprice, gnumeric_oddfprice, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
/* TODO UNIMPLEMENTED */
{ "oddfyield", "fffffffff", "settlement,maturity,issue,first_coupon,rate,pr,redemption,frequency,basis",
&help_oddfyield, gnumeric_oddfyield, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_UNIMPLEMENTED, GNM_FUNC_TEST_STATUS_BASIC },
{ "oddlprice", "ffffffff", "settlement,maturity,last_interest,rate,yld,redemption,frequency,basis",
&help_oddlprice, gnumeric_oddlprice, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "oddlyield", "ffffffff", "settlement,maturity,last_interest,rate,pr,redemption,frequency,basis",
&help_oddlyield, gnumeric_oddlyield, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "pmt", "fff|ff", "rate,nper,pv[,fv,type]",
&help_pmt, gnumeric_pmt, NULL, NULL, NULL },
&help_pmt, gnumeric_pmt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "ppmt", "ffff|ff", "rate,per,nper,pv[,fv,type]",
&help_ppmt, gnumeric_ppmt, NULL, NULL, NULL },
{ "price", "??fff|ff",
"settle,mat,rate,yield,redemption_price,frequency,basis",
&help_price, gnumeric_price, NULL, NULL, NULL },
{ "pricedisc", "??ff|f",
"settlement,maturity,discount,redemption[,basis]",
&help_pricedisc, gnumeric_pricedisc, NULL, NULL, NULL },
{ "pricemat", "???ff|f",
"settlement,maturity,issue,rate,yield[,basis]",
&help_pricemat, gnumeric_pricemat, NULL, NULL, NULL },
&help_ppmt, gnumeric_ppmt, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "price", "fffff|ff", "settlement,maturity,rate,yield,redemption_price,frequency,basis",
&help_price, gnumeric_price, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "pricedisc", "ffff|f", "settlement,maturity,discount,redemption[,basis]",
&help_pricedisc, gnumeric_pricedisc, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "pricemat", "fffff|f", "settlement,maturity,issue,rate,yield[,basis]",
&help_pricemat, gnumeric_pricemat, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "pv", "fff|ff", "rate,nper,pmt[,fv,type]",
&help_pv, gnumeric_pv, NULL, NULL, NULL },
&help_pv, gnumeric_pv, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "rate", "fff|fff", "rate,nper,pmt,fv,type,guess",
&help_rate, gnumeric_rate, NULL, NULL, NULL },
{ "received", "??ff|f",
"settlement,maturity,investment,discount[,basis]",
&help_received, gnumeric_received, NULL, NULL, NULL },
&help_rate, gnumeric_rate, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "received", "ffff|f", "settlement,maturity,investment,discount[,basis]",
&help_received, gnumeric_received, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "sln", "fff", "cost,salvagevalue,life",
&help_sln, gnumeric_sln, NULL, NULL, NULL },
&help_sln, gnumeric_sln, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "syd", "ffff", "cost,salvagevalue,life,period",
&help_syd, gnumeric_syd, NULL, NULL, NULL },
{ "tbilleq", "??f", "settlement,maturity,discount",
&help_tbilleq, gnumeric_tbilleq, NULL, NULL, NULL },
{ "tbillprice", "??f", "settlement,maturity,discount",
&help_tbillprice, gnumeric_tbillprice, NULL, NULL, NULL },
{ "tbillyield", "??f", "settlement,maturity,pr",
&help_tbillyield, gnumeric_tbillyield, NULL, NULL, NULL },
{ "vdb", "fffff|ff",
"cost,salvage,life,start_period,end_period[,factor,switch]",
&help_vdb, gnumeric_vdb, NULL, NULL, NULL },
&help_syd, gnumeric_syd, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "tbilleq", "fff", "settlement,maturity,discount",
&help_tbilleq, gnumeric_tbilleq, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "tbillprice", "fff", "settlement,maturity,discount",
&help_tbillprice, gnumeric_tbillprice, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "tbillyield", "fff", "settlement,maturity,pr",
&help_tbillyield, gnumeric_tbillyield, NULL, NULL, NULL, NULL,
GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_BASIC },
{ "vdb", "fffff|ff", "cost,salvage,life,start_period,end_period[,factor,switch]",