Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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 #