This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
missing gsl_sf_cos_err_e, gsl_sf_sin_err_e
- To: gsl discussion list <gsl-discuss at sources dot redhat dot com>
- Subject: missing gsl_sf_cos_err_e, gsl_sf_sin_err_e
- From: Achim Gaedke <achim at zpr dot uni-koeln dot de>
- Date: Thu, 14 Dec 2000 14:36:38 +0100 (MET)
the functions gsl_sf_cos_err_e and gsl_sf_sin_err_e are declared in
$(prefix)/include/gsl/gsl_sf_trig.h, but not defined in
gsl-0.7/specfunc/trig.c or anywhere else...
(I've checked gsl-0.7/KNOWN-PROBLEMS, it is not mentioned...)
Maybe this is the missing code:
int gsl_sf_sin_err_e(const double x, const double dx, gsl_sf_result *
result)
{
int status = gsl_sf_sin_err_impl(x, dx, result);
if(status != GSL_SUCCESS) {
GSL_ERROR("gsl_sf_sin_err_e", status);
}
return status;
}
int gsl_sf_exp_cos_e(const double x, const double dx, gsl_sf_result *
result)
{
int status = gsl_sf_cos_err_impl(x, dx, result);
if(status != GSL_SUCCESS) {
GSL_ERROR("gsl_sf_cos_err_e", status);
}
return status;
}
Yours
Achim
Achim Gaedke, ZPR
Weyertal 80, 50931 Köln
Tel: +49 221 470 6021