Math library¶
Note
This library will be included (and installed) with Keel in the 0.3.0 release that's coming soon.
Warning
This is highly subject to change.
Import this library with import "std/math.kl"; at the top-level.
Acos¶
acos(x: float) -> float
Asin¶
asin(x: float) -> float
Atan¶
atan(x: float) -> float
Atan2¶
atan2(x: float, y: float) -> float
Cos¶
cos(x: float) -> float
Sin¶
sin(x: float) -> float
Tan¶
tan(x: float) -> float
Acosh¶
acosh(x: float) -> float
Asinh¶
asinh(x: float) -> float
Atanh¶
atanh(x: float) -> float
Cosh¶
cosh(x: float) -> float
Sinh¶
sinh(x: float) -> float
Tanh¶
tanh(x: float) -> float
Exp¶
exp(x: float) -> float
Expm1¶
expm1(x: float) -> float
Log¶
log(x: float) -> float
Log10¶
log10(x: float) -> float
Log2¶
log2(x: float) -> float
Log1p¶
log1p(x: float) -> float
Logb¶
logb(x: float) -> float
Ldexp¶
ldexp(x: float, y: int) -> float
Ilogb¶
ilogb(x: float) -> int
Scalbn¶
scalbn(x: float, y: int) -> float
Cbrt¶
cbrt(x: float) -> float
Hypot¶
hypot(x: float, y: float) -> float
Erf¶
erf(x: float) -> float
Erfc¶
erfc(x: float) -> float