Sha256: d2f2617a2caaff3ded30ff829f425e30a06836ec18a99c37051f1aeb9a97866c
Contents?: true
Size: 1.25 KB
Versions: 12
Compression:
Stored size: 1.25 KB
Contents
o:$YARD::CodeObjects::MethodObject:@scope: class:@visibility:public: @pathI"Math.atanh:EF:@parameters[:@files[[I"math.c;T0:@current_file_has_commentsF: @name: atanh:@source_type:c: @tags[:@docstringIC:YARD::Docstring"9Computes the inverse hyperbolic tangent of <i>x</i>.;F:@objectIu:YARD::StubProxyMath.atanh;F: @summary0:@ref_tags[;[o:YARD::Tags::OverloadTag :@tag_nameI" overload;F: @text0;;:@types0:@signatureI" atanh(x);F;IC;";F;Iu;Math.atanh;F;0;[;[o:YARD::Tags::Tag ;I"return;F;I";F;0;[I" Float;F;0: @allI"@return [Float];F;[[:x0;Iu;Math.atanh;F; I"`Computes the inverse hyperbolic tangent of <i>x</i>. @overload atanh(x) @return [Float];F:@namespaceIu; Math;F:@docstring_extra0:@sourceI"�/* * call-seq: * Math.atanh(x) -> float * * Computes the inverse hyperbolic tangent of <i>x</i>. */ static VALUE math_atanh(VALUE obj, VALUE x) { double d0, d; Need_Float(x); d0 = RFLOAT_VALUE(x); /* check for domain error */ if (d0 < -1.0 || +1.0 < d0) domain_error("atanh"); /* check for pole error */ if (d0 == -1.0) return DBL2NUM(-INFINITY); if (d0 == +1.0) return DBL2NUM(+INFINITY); d = atanh(d0); return DBL2NUM(d); };F
Version data entries
12 entries across 12 versions & 2 rubygems