feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Frontend.Conversion
i2f :: (Integral a, Numeric b, RealFloat b) => Data a -> Data b Source
f2i :: (Integral a, Numeric b, RealFloat b) => Data b -> Data a Source
i2n :: (Integral a, Numeric b) => Data a -> Data b Source
b2i :: Integral a => Data Bool -> Data a Source
truncate :: (Integral a, Numeric b, RealFloat b) => Data b -> Data a Source
round :: (Integral a, Numeric b, RealFloat b) => Data b -> Data a Source
ceiling :: (Integral a, Numeric b, RealFloat b) => Data b -> Data a Source
floor :: (Integral a, Numeric b, RealFloat b) => Data b -> Data a Source