feldspar-language-0.6.0.2: A functional embedded language for DSP and parallelism

Safe Haskell | None

Feldspar.Core.Frontend.Conversion

# Documentation

i2f :: Integral a => Data a -> Data Float

f2i :: Integral a => Data Float -> Data a

i2n :: (Integral a, Numeric b) => Data a -> Data b

b2i :: Integral a => Data Bool -> Data a

truncate :: Integral a => Data Float -> Data a

round :: Integral a => Data Float -> Data a

ceiling :: Integral a => Data Float -> Data a

floor :: Integral a => Data Float -> Data a