Method: Math#erfc
- Defined in:
- math.c
#erfc(x) ⇒ Float (private)
Returns the value of the complementary error function for x.
- Domain: <tt>[-INFINITY, INFINITY]</tt>.
- Range: <tt>[0, 2]</tt>.
Examples:
erfc(-INFINITY) # => 2.0
erfc(0.0) # => 1.0
erfc(INFINITY) # => 0.0
: Math.erf.
899 900 901 902 903 |
# File 'math.c', line 899 static VALUE math_erfc(VALUE unused_obj, VALUE x) { return DBL2NUM(erfc(Get_Double(x))); } |