示例#1
0
文件: Error.c 项目: codahale/ruby-gsl
static VALUE Error_erf_e(VALUE self, VALUE x) {
  int ret;
  gsl_sf_result r;
  ret = gsl_sf_erf_e(NUM2DBL(x), &r);
  return RESULT(&r);
}
示例#2
0
double gsl_sf_erf (double x)
{
  EVAL_RESULT (gsl_sf_erf_e (x, &result));
}