math

@extern
object math

C definitions for math.h

See https://en.cppreference.com/w/c/numeric/math

class Object
trait Matchable
class Any
math.type

Value members

Concrete methods

def abs(x: CInt): CInt

Inherited methods

@name("scalanative_huge_val")
def HUGE_VAL: CDouble
Inherited from:
math (hidden)
@name("scalanative_huge_valf")
def HUGE_VALF: CFloat
Inherited from:
math (hidden)
@name("scalanative_infinity")
def INFINITY: CFloat
Inherited from:
math (hidden)
@name("scalanative_math_errexcept")
def MATH_ERREXCEPT: CInt
Inherited from:
math (hidden)
@name("scalanative_math_errno")
def MATH_ERRNO: CInt
Inherited from:
math (hidden)
@name("scalanative_nan")
def NAN: CFloat
Inherited from:
math (hidden)
def acos(x: CDouble): CDouble
Inherited from:
math (hidden)
def acosf(x: CFloat): CFloat
Inherited from:
math (hidden)
def asin(x: CDouble): CDouble
Inherited from:
math (hidden)
def asinf(x: CFloat): CFloat
Inherited from:
math (hidden)
def asinh(x: CDouble): CDouble
Inherited from:
math (hidden)
def asinhf(x: CFloat): CFloat
Inherited from:
math (hidden)
def atan(x: CDouble): CDouble
Inherited from:
math (hidden)
def atan2(y: CDouble, x: CDouble): CDouble
Inherited from:
math (hidden)
def atan2f(y: CFloat, x: CFloat): CFloat
Inherited from:
math (hidden)
def atanf(x: CFloat): CFloat
Inherited from:
math (hidden)
def atanh(x: CDouble): CDouble
Inherited from:
math (hidden)
def atanhf(x: CFloat): CFloat
Inherited from:
math (hidden)
def cbrt(x: CDouble): CDouble
Inherited from:
math (hidden)
def cbrtf(x: CFloat): CFloat
Inherited from:
math (hidden)
def ceil(x: CDouble): CDouble
Inherited from:
math (hidden)
def ceilf(x: CFloat): CFloat
Inherited from:
math (hidden)
def copysign(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def copysignf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def cos(x: CDouble): CDouble
Inherited from:
math (hidden)
def cosf(x: CFloat): CFloat
Inherited from:
math (hidden)
def cosh(x: CDouble): CDouble
Inherited from:
math (hidden)
def coshf(x: CFloat): CFloat
Inherited from:
math (hidden)
def erf(x: CDouble): CDouble
Inherited from:
math (hidden)
def erfc(x: CDouble): CDouble
Inherited from:
math (hidden)
def erfcf(x: CFloat): CFloat
Inherited from:
math (hidden)
def erff(x: CFloat): CFloat
Inherited from:
math (hidden)
def exp(x: CDouble): CDouble
Inherited from:
math (hidden)
def exp2(x: CDouble): CDouble
Inherited from:
math (hidden)
def exp2f(x: CFloat): CFloat
Inherited from:
math (hidden)
def expf(x: CFloat): CFloat
Inherited from:
math (hidden)
def expm1(x: CDouble): CDouble
Inherited from:
math (hidden)
def expm1f(x: CFloat): CFloat
Inherited from:
math (hidden)
def fabs(arg: CDouble): CDouble
Inherited from:
math (hidden)
def fabsf(arg: CFloat): CFloat
Inherited from:
math (hidden)
def fdim(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def fdimf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def floor(x: CDouble): CDouble
Inherited from:
math (hidden)
def floorf(x: CFloat): CFloat
Inherited from:
math (hidden)
def fma(x: CDouble, y: CDouble, z: CDouble): CDouble
Inherited from:
math (hidden)
def fmaf(x: CFloat, y: CFloat, z: CFloat): CFloat
Inherited from:
math (hidden)
def fmax(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def fmaxf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def fmin(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def fminf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def fmod(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def fmodf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def frexp(arg: CDouble, exp: Ptr[CInt]): CDouble
Inherited from:
math (hidden)
def frexpf(arg: CFloat, exp: Ptr[CInt]): CFloat
Inherited from:
math (hidden)
def hypot(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def hypotf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def ilogb(x: CDouble): CInt
Inherited from:
math (hidden)
def ilogbf(x: CFloat): CInt
Inherited from:
math (hidden)
def labs(x: CLong): CLong
Inherited from:
math (hidden)
def ldexp(arg: CDouble, exp: CInt): CDouble
Inherited from:
math (hidden)
def ldexpf(arg: CFloat, exp: CInt): CFloat
Inherited from:
math (hidden)
def lgamma(x: CDouble): CDouble
Inherited from:
math (hidden)
def lgammaf(x: CFloat): CFloat
Inherited from:
math (hidden)
def llabs(x: CLongLong): CLongLong
Inherited from:
math (hidden)
def llrint(x: CDouble): CLongLong
Inherited from:
math (hidden)
def llrintf(x: CFloat): CLongLong
Inherited from:
math (hidden)
def llround(x: CDouble): CLongLong
Inherited from:
math (hidden)
def llroundf(x: CFloat): CLongLong
Inherited from:
math (hidden)
def log(x: CDouble): CDouble
Inherited from:
math (hidden)
def log10(x: CDouble): CDouble
Inherited from:
math (hidden)
def log10f(x: CFloat): CFloat
Inherited from:
math (hidden)
def log1p(x: CDouble): CDouble
Inherited from:
math (hidden)
def log1pf(x: CFloat): CFloat
Inherited from:
math (hidden)
def log2(x: CDouble): CDouble
Inherited from:
math (hidden)
def log2f(x: CFloat): CFloat
Inherited from:
math (hidden)
def logb(x: CDouble): CDouble
Inherited from:
math (hidden)
def logbf(x: CFloat): CFloat
Inherited from:
math (hidden)
def logf(x: CFloat): CFloat
Inherited from:
math (hidden)
def lrint(x: CDouble): CLong
Inherited from:
math (hidden)
def lrintf(x: CFloat): CLong
Inherited from:
math (hidden)
def lround(x: CDouble): CLong
Inherited from:
math (hidden)
def lroundf(x: CFloat): CLong
Inherited from:
math (hidden)
@name("scalanative_math_errhandling")
Inherited from:
math (hidden)
def modf(arg: CDouble, iptr: Ptr[CDouble]): CDouble
Inherited from:
math (hidden)
def modff(arg: CFloat, iptr: Ptr[CFloat]): CFloat
Inherited from:
math (hidden)
def nan(str: CString): CDouble
Inherited from:
math (hidden)
def nanf(str: CString): CFloat
Inherited from:
math (hidden)
def nearbyint(x: CDouble): CDouble
Inherited from:
math (hidden)
def nearbyintf(x: CFloat): CFloat
Inherited from:
math (hidden)
def nextafter(from: CDouble, to: CDouble): CDouble
Inherited from:
math (hidden)
def nextafterf(from: CFloat, to: CFloat): CFloat
Inherited from:
math (hidden)
def pow(base: CDouble, exponent: CDouble): CDouble
Inherited from:
math (hidden)
def powf(base: CFloat, exponent: CFloat): CFloat
Inherited from:
math (hidden)
def remainder(x: CDouble, y: CDouble): CDouble
Inherited from:
math (hidden)
def remainderf(x: CFloat, y: CFloat): CFloat
Inherited from:
math (hidden)
def remquo(x: CDouble, y: CDouble, quo: Ptr[CInt]): CDouble
Inherited from:
math (hidden)
def remquof(x: CFloat, y: CFloat, quo: Ptr[CInt]): CFloat
Inherited from:
math (hidden)
def rint(x: CDouble): CDouble
Inherited from:
math (hidden)
def rintf(x: CFloat): CFloat
Inherited from:
math (hidden)
def round(x: CDouble): CDouble
Inherited from:
math (hidden)
def roundf(x: CFloat): CFloat
Inherited from:
math (hidden)
def scalbln(arg: CDouble, exp: CLong): CDouble
Inherited from:
math (hidden)
def scalblnf(arg: CFloat, exp: CLong): CFloat
Inherited from:
math (hidden)
def scalbn(arg: CDouble, exp: CInt): CDouble
Inherited from:
math (hidden)
def scalbnf(arg: CFloat, exp: CInt): CFloat
Inherited from:
math (hidden)
def sin(x: CDouble): CDouble
Inherited from:
math (hidden)
def sinf(x: CFloat): CFloat
Inherited from:
math (hidden)
def sinh(x: CDouble): CDouble
Inherited from:
math (hidden)
def sinhf(x: CFloat): CFloat
Inherited from:
math (hidden)
def sqrt(x: CDouble): CDouble
Inherited from:
math (hidden)
def sqrtf(x: CFloat): CFloat
Inherited from:
math (hidden)
def tan(x: CDouble): CDouble
Inherited from:
math (hidden)
def tanf(x: CFloat): CFloat
Inherited from:
math (hidden)
def tanh(x: CDouble): CDouble
Inherited from:
math (hidden)
def tanhf(x: CFloat): CFloat
Inherited from:
math (hidden)
def tgamma(x: CDouble): CDouble
Inherited from:
math (hidden)
def tgammaf(x: CFloat): CFloat
Inherited from:
math (hidden)
def trunc(x: CDouble): CDouble
Inherited from:
math (hidden)
def truncf(x: CFloat): CFloat
Inherited from:
math (hidden)