Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- inClosedUnitInterval :: (Num n, Ord n) => n -> Bool
Functions
inClosedUnitInterval :: (Num n, Ord n) => n -> Bool Source #
Whether the specified number lies within the closed unit-interval, [0,1]
; https://en.wikipedia.org/wiki/Unit_interval.