This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

missing gsl_sf_cos_err_e, gsl_sf_sin_err_e


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]