newsynth-0.3.0.4: Exact and approximate synthesis of quantum circuits
Quantum.Synthesis.Ring.FixedPrec
Contents
Description
This module provides ring instances for Data.Number.FixedPrec.
Methods
floor_of :: FixedPrec e -> Integer Source #
ceiling_of :: FixedPrec e -> Integer Source #
adj2 :: FixedPrec e -> FixedPrec e Source #
adj :: FixedPrec e -> FixedPrec e Source #
roothalf :: FixedPrec e Source #
fromDRootTwo :: DRootTwo -> FixedPrec e Source #
roottwo :: FixedPrec e Source #
fromZRootTwo :: ZRootTwo -> FixedPrec e Source #
half :: FixedPrec e Source #
fromDyadic :: Dyadic -> FixedPrec e Source #