Skip to content

Commit

Permalink
[#138] + RealFloat (#142)
Browse files Browse the repository at this point in the history
* + RealFloat

* update CHANGELOG
  • Loading branch information
pcarbonn authored and chshersh committed Feb 21, 2019
1 parent 9f47af0 commit 0d71a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,8 @@ The changelog is available [on GitHub][2].

## Unreleased: 0.5.0

* [#138](https://github.com/kowainik/relude/issues/138):
Add `RealFloat` to `Relude.Numeric`.
* [#125](https://github.com/kowainik/relude/issues/125):
Moved many numerical functions and types in `Relude.Numeric`.
Reexport `toIntegralSized` from `Data.Bits`.
Expand Down
3 changes: 2 additions & 1 deletion src/Relude/Numeric.hs
Expand Up @@ -24,7 +24,8 @@ import Data.Bits (toIntegralSized, xor)
import Data.Int (Int, Int16, Int32, Int64, Int8)
import Data.Word (Word, Word16, Word32, Word64, Word8, byteSwap16, byteSwap32, byteSwap64)
import GHC.Base (maxInt, minInt)
import GHC.Float (Double (..), Float (..), Floating (acos, acosh, asin, asinh, atan, atanh, cos, cosh, exp, logBase, pi, sin, sinh, sqrt, tan, tanh, (**)))
import GHC.Float (Double (..), Float (..), Floating (acos, acosh, asin, asinh, atan, atanh, cos, cosh, exp, logBase, pi, sin, sinh, sqrt, tan, tanh, (**)),
RealFloat (floatRadix, floatDigits, floatRange, decodeFloat, encodeFloat, isNaN, isInfinite, isDenormalized, isNegativeZero, isIEEE))
import GHC.Num (Integer, Num (..), subtract)
import GHC.Real (Fractional (..), Integral (..), Ratio, Rational, Real (..), RealFrac (..),
denominator, even, fromIntegral, gcd, lcm, numerator, odd, realToFrac, (^), (^^))
Expand Down

0 comments on commit 0d71a4d

Please sign in to comment.