1{-# LANGUAGE NoImplicitPrelude #-}
11approxEq :: (Fractional a, Ord a) => a -> a -> Bool
12approxEq = approxEqWith 1e-15 1e-15
14approxEqWith :: (Fractional a, Ord a) => a -> a -> a -> a -> Bool
15approxEqWith maxAbsoluteError maxRelativeError a b =
16 a == b || d < maxAbsoluteError ||
17 d / max (abs b) (abs a) <= maxRelativeError
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list