Copilot.Language.Operators.Integral
Description
Integral class operators applied point-wise on streams.
div :: (Typed a, Integral a) => Stream a -> Stream a -> Stream a Source #
Apply the div operation to two streams, point-wise.
div
mod :: (Typed a, Integral a) => Stream a -> Stream a -> Stream a Source #
Apply the mod operation to two streams, point-wise.
mod
(^) :: (Typed a, Typed b, Num a, Bits a, Integral b) => Stream a -> Stream b -> Stream a Source #
Apply a limited form of exponentiation (^) to two streams, point-wise.
^
Either the first stream must be the constant 2, or the second must be a constant stream.