8d39c22415
changelog: 0.3.3.0 * Add the isFloating or isInteger predicates. Courtesy of Zejun Wu (@watashi). * Add the toRealFloat' and toBoundedInteger functions. Courtesy of Fujimura Daisuke (@fujimura). 0.3.2.2 * Enable package to link with integer-simple instead of integer-gmp using the -finteger-simple cabal flag. Courtesy of @k0ral. 0.3.2.1 * Parameterize inclusion of the Data.ByteString.Builder.Scientific module using the bytestring-builder flag. Disabling this flag allows building on GHC-7.0.4 which has bytestring-0.9 installed by default. 0.3.2.0 * Add the floatingOrInteger function * Fix build on GHC-7.0.4 * More efficient and better behaving magnitude computation * Lower the number of cached magnitudes to 324 (same as GHC.Float) 0.3.1.0 * Don't normalize on construction but do it when pretty-printing instead. Also provide a manual normalize function. * Improve efficiency of toRealFloat * Added note about caching magnitudes * Dropped dependency on arithmoi * Make benchmark easier to build * Add junit XML output support (for Jenkins) 0.3.0.2 * Lower the minimal QuickCheck version. * Make sure sized exponents are generated in the QuickCheck tests. 0.3.0.1 * Fix build for bytestring-0.10.0.* 0.3.0.0 * Fix a DoS vulnerability that allowed an attacker to crash the process by sending a scientific with a huge exponent like 1e1000000000. * Fix various RealFrac methods. * Cache some powers of 10 to speed up the magnitude computation. * Normalize scientific numbers on construction. * Move the Text Builder to its own module & provide a ByteString builder * Added more documentation
15 lines
457 B
Makefile
15 lines
457 B
Makefile
# $NetBSD: buildlink3.mk,v 1.2 2014/08/16 21:54:50 szptvlfn Exp $
|
|
|
|
BUILDLINK_TREE+= hs-scientific
|
|
|
|
.if !defined(HS_SCIENTIFIC_BUILDLINK3_MK)
|
|
HS_SCIENTIFIC_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.hs-scientific+= hs-scientific>=0.3.3
|
|
BUILDLINK_PKGSRCDIR.hs-scientific?= ../../math/hs-scientific
|
|
|
|
.include "../../devel/hs-hashable/buildlink3.mk"
|
|
.include "../../devel/hs-text/buildlink3.mk"
|
|
.endif # HS_SCIENTIFIC_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -hs-scientific
|