Safe Haskell | None |
---|---|
Language | GHC2021 |
Double datatype with saner instances
Synopsis
- newtype SaneDouble = SaneDouble {}
Documentation
newtype SaneDouble Source #
A newtype wrapper around Double
to ensure we never generate a Double
that becomes a NaN
, see instances for details on sanity.