Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.