Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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 Bool # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Char # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Double # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Float # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Int # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Integer # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq Text # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

ApproxEq ScoreTime # 
Instance details

Defined in Ui.ScoreTime

Methods

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

ApproxEq RealTime # 
Instance details

Defined in Perform.RealTime

Methods

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

ApproxEq NoteNumber # 
Instance details

Defined in Perform.Pitch

ApproxEq a => ApproxEq [a] # 
Instance details

Defined in Util.Test.ApproxEq

Methods

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

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

Defined in Util.Test.ApproxEq

Methods

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

(ApproxEq a, ApproxEq b) => ApproxEq (Either a b) # 
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) # 
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) # 
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) # 
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 #