Point-wise application of
floor to a stream.
Unlike the Haskell variant of this function, this variant takes and
returns two streams of the same type. Use a casting function to
convert the result to an intergral type of your choice.
Note that the result can be too big (or, if negative, too small) for
that type (see the man page of
floor for details), so you
must check that the value fits in the desired integral type before
casting it.
This definition clashes with one in
RealFrac in Haskell's
Prelude, re-exported from
Language.Copilot, so you need to
import this module qualified to use this function.