static public Method

Math.erfc(p1)

Math.erfc(x)   float

Calculates the complementary error function of x.

Source Code

/*
* call-seq:
*    Math.erfc(x)  => float
*
*  Calculates the complementary error function of x.
*/

static VALUE
math_erfc(obj, x)
   VALUE obj, x;
{
   Need_Float(x);
   return rb_float_new(erfc(RFLOAT(x)->value));
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.