Math module of PicoRuby

Singleton methods

acos

Math.acos(Float x) -> Float

acosh

Math.acosh(Float x) -> Float

asin

Math.asin(Float x) -> Float

asinh

Math.asinh(Float x) -> Float

atan

Math.atan(Float x) -> Float

atan2

Math.atan2(Float y, Float x) -> Float

atanh

Math.atanh(Float x) -> Float

cbrt

Math.cbrt(Float x) -> Float

cos

Math.cos(Float x) -> Float

cosh

Math.cosh(Float x) -> Float

erf

Math.erf(Float x) -> Float

erfc

Math.erfc(Float x) -> Float

exp

Math.exp(Float x) -> Float

hypot

Math.hypot(Float x, Float y) -> Float

ldexp

Math.ldexp(Float fraction, int exponent) -> Float

log

Math.log(Float x, ?Float base) -> Float

log10

Math.log10(Float x) -> Float

log2

Math.log2(Float x) -> Float

sin

Math.sin(Float x) -> Float

sinh

Math.sinh(Float x) -> Float

sqrt

Math.sqrt(Float x) -> Float

tan

Math.tan(Float x) -> Float

tanh

Math.tanh(Float x) -> Float
Tags: