F♭ (pronounced F-flat) is a toy language.
re
z -> x
Real part of a value
im
z -> y
Imaginary part of a value
arg
z -> a
Argument (polar angle) of a complex number
abs
x -> x'
Absolute value and complex magnitude
cos
x -> x'
Cosine of argument in radians
sin
x -> x'
Sine of argument in radians
tan
x -> x'
Tangent of argument in radians
asin
x -> x'
Inverse sine in radians
atan
x -> x'
Inverse tangent in radians
round
x -> n
Round to nearest decimal or integer
floor
x -> n
Round toward negative infinity
ceil
x -> n
Round toward positive infinity
sqrt
x -> x'
Square root
conj
z -> z'
Complex conjugate
exp
x -> x'
Exponential
gamma
x -> x'
Gamma function
atan2
x₁ x₂ -> x₃
Four-quadrant inverse tangent
erf
x -> x'
Error function
bit-and
x₁ x₂ -> x₃
bitwise and
bit-or
x₁ x₂ -> x₃
bitwise or
bit-xor
x₁ x₂ -> x₃
bitwise xor
bit-not
x -> x'
bitwise not
rand
-> x
pseudo-random number in the range [0, 1)
infinity
-> -Infinity
pushes the value Infinity
-infinity
-> -Infinity
pushes the value -Infinity
complexinfinity
-> ComplexInfinity
pushes the value complexinfinity