static public Method

Math.sinh(p1)

Math.sinh(x)     float

Computes the hyperbolic sine of x (expressed in radians).

Source Code

/*
*  call-seq:
*     Math.sinh(x)    => float
*  
*  Computes the hyperbolic sine of <i>x</i> (expressed in
*  radians).
*/

static VALUE
math_sinh(obj, x)
   VALUE obj, x;
{
   Need_Float(x);
   return rb_float_new(sinh(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.