Data.CDAR.Classes
Description
Defines the Scalable type class.
Scalable
class Scalable a where Source #
Scalable allows scaling numerical data types by powers of 2.
Methods
scale :: a -> Int -> a Source #
The Integer instance.
Integer
Defined in Data.CDAR.Classes
scale :: Integer -> Int -> Integer Source #
Defined in Data.CDAR.Dyadic
scale :: Dyadic -> Int -> Dyadic Source #
Defined in Data.CDAR.Approx
scale :: CR -> Int -> CR Source #
scale :: Approx -> Int -> Approx Source #