missing gsl_sf_cos_err_e, gsl_sf_sin_err_e

Achim Gaedke achim@zpr.uni-koeln.de
Thu Dec 14 05:36:00 GMT 2000


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




More information about the Gsl-discuss mailing list