aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-06-04 03:16:56 +0800
committerpgj <pgj@FreeBSD.org>2012-06-04 03:16:56 +0800
commit2fc1022f6796735b5a83fc0975caeede42a57f69 (patch)
tree8ec9d25404c5a176a0130162b2bfd296513dd205 /math
parenta9f385df3426d33c444c5bdbe3845dae0b090478 (diff)
downloadfreebsd-ports-gnome-2fc1022f6796735b5a83fc0975caeede42a57f69.tar.gz
freebsd-ports-gnome-2fc1022f6796735b5a83fc0975caeede42a57f69.tar.zst
freebsd-ports-gnome-2fc1022f6796735b5a83fc0975caeede42a57f69.zip
Utilities for dealing with IEEE floating point numbers, ported from the
Tango math library; approximate and exact equality comparisons for general types. WWW: http://github.com/patperry/hs-ieee754 Obtained from: FreeBSD Haskell
Diffstat (limited to 'math')
-rw-r--r--math/hs-ieee754/Makefile18
-rw-r--r--math/hs-ieee754/distinfo2
-rw-r--r--math/hs-ieee754/pkg-descr5
3 files changed, 25 insertions, 0 deletions
diff --git a/math/hs-ieee754/Makefile b/math/hs-ieee754/Makefile
new file mode 100644
index 000000000000..86f9c53abf46
--- /dev/null
+++ b/math/hs-ieee754/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: hs-ieee754
+# Date created: April 7, 2012
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= ieee754
+PORTVERSION= 0.7.3
+CATEGORIES= math haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Utilities for dealing with IEEE floating point numbers
+
+LICENSE= BSD
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-ieee754/distinfo b/math/hs-ieee754/distinfo
new file mode 100644
index 000000000000..99a76e2c0762
--- /dev/null
+++ b/math/hs-ieee754/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/ieee754-0.7.3.tar.gz) = 603fc8470330abd25b4c46d63536cca75ca4d282acfefa565fddc612e021073f
+SIZE (cabal/ieee754-0.7.3.tar.gz) = 16219
diff --git a/math/hs-ieee754/pkg-descr b/math/hs-ieee754/pkg-descr
new file mode 100644
index 000000000000..614a09e9b446
--- /dev/null
+++ b/math/hs-ieee754/pkg-descr
@@ -0,0 +1,5 @@
+Utilities for dealing with IEEE floating point numbers, ported from the
+Tango math library; approximate and exact equality comparisons for general
+types.
+
+WWW: http://github.com/patperry/hs-ieee754