-
Notifications
You must be signed in to change notification settings - Fork 6
The math library
tim-hardcastle edited this page Sep 27, 2023
·
1 revision
As these functions are in effect wrappers around their Golang counterparts, I hope it will suffice for now just to give the signatures of the functions in the library without detailed descriptions of what they do.
abs(x float64)acos(x float64)acosh(x float64)asin(x float64)asinh(x float64)atan(x float64)atan2(y, x float64)atanh(x float64)cbrt(x float64)ceil(x float64)copysign(f, sign float64)cos(x float64)cosh(x float64)dim(x, y float64)erf(x float64)erfc(x float64)erfcinv(x float64)erfinv(x float64)exp(x float64)exp2(x float64)expm1(x float64)fMA(x float64, y float64, z float64)floor(x float64)frexp(f float64)gamma(x float64)hypot(p, q float64)inf(sign int)isInf(f float64, sign int)isNaN(f float64)j0(x float64)j1(x float64)jn(n int, x float64)ldexp(frac float64, ex int)lgamma(x float64)log(x float64)log10(x float64)log1p(x float64)log2(x float64)logb(x float64)max(x, y float64)min(x, y float64)mod(x, y float64)modf(x float64)nextafter(x, y float64)pow(x, y float64)pow10(n int)remainder(x, y float64)round(x float64)roundToEven(x float64)signbit(x float64)sin(x float64)sincos(x float64)sinh(x float64)sqrt(x float64)tan(x float64)tanh(x float64)trunc(x float64)y0(x float64)y1(x float64)yn(n int, x float64)
🧿 Pipefish is distributed under the MIT license. Please steal my code and ideas.
- Getting started
- Language basics
- The type system and built-in functions
- Functional Pipefish
- Encapsulation
- Imperative Pipefish
-
Imports and libraries
- The files library
- The fmt library
- The html library
- The math library
- The math/big library
- The math/cmplx library
- The math/rand library
- The path library
- The path/filepath library
- The reflect library
- The regexp library
- The sql library
- The strings library
- The terminal library
- The time library
- The unicode library
- Advanced Pipefish
- Developing in Pipefish
- Deployment
- Appendices