Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Util.Test.ApproxEq

Description

ApproxEq class for comparing floating point numbers.

Documentation

class ApproxEq a where Source #

Methods

eq :: Double -> a -> a -> Bool Source #

Instances

Instances details
ApproxEq NoteNumber Source # 
Instance details

Defined in Perform.Pitch

ApproxEq RealTime Source # 
Instance details

Defined in Perform.RealTime

Methods

eq :: Double -> RealTime -> RealTime -> Bool Source #

ApproxEq ScoreTime Source # 
Instance details

Defined in Ui.ScoreTime

Methods

eq :: Double -> ScoreTime -> ScoreTime -> Bool Source #

ApproxEq Text Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Text -> Text -> Bool Source #

ApproxEq Integer Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Integer -> Integer -> Bool Source #

ApproxEq Bool Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Bool -> Bool -> Bool Source #

ApproxEq Char Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Char -> Char -> Bool Source #

ApproxEq Double Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Double -> Double -> Bool Source #

ApproxEq Float Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Float -> Float -> Bool Source #

ApproxEq Int Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Int -> Int -> Bool Source #

ApproxEq a => ApproxEq (Maybe a) Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Maybe a -> Maybe a -> Bool Source #

ApproxEq a => ApproxEq [a] Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> [a] -> [a] -> Bool Source #

(ApproxEq a, ApproxEq b) => ApproxEq (Either a b) Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> Either a b -> Either a b -> Bool Source #

(ApproxEq a, ApproxEq b) => ApproxEq (a, b) Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> (a, b) -> (a, b) -> Bool Source #

(ApproxEq a, ApproxEq b, ApproxEq c) => ApproxEq (a, b, c) Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> (a, b, c) -> (a, b, c) -> Bool Source #

(ApproxEq a, ApproxEq b, ApproxEq c, ApproxEq d) => ApproxEq (a, b, c, d) Source # 
Instance details

Defined in Util.Test.ApproxEq

Methods

eq :: Double -> (a, b, c, d) -> (a, b, c, d) -> Bool Source #

neq :: ApproxEq a => Double -> a -> a -> Bool Source #

compare :: (ApproxEq a, Ord a) => Double -> a -> a -> Ordering Source #