Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 129 lines (112 sloc) 3.535 kb
92f333f @bos Initial commit of Haskell code
authored
1 name: double-conversion
dbebdae @bos Bump version to 2.0.1.1
authored
2 version: 2.0.1.1
92f333f @bos Initial commit of Haskell code
authored
3 license: BSD3
4 license-file: LICENSE
4afe0a3 @bos Update mailrank addresses to serpentine
authored
5 homepage: https://github.com/bos/double-conversion
6 bug-reports: https://github.com/bos/double-conversion/issues
92f333f @bos Initial commit of Haskell code
authored
7 category: Text
4afe0a3 @bos Update mailrank addresses to serpentine
authored
8 author: Bryan O'Sullivan <bos@serpentine.com>
9 maintainer: Bryan O'Sullivan <bos@serpentine.com>
92f333f @bos Initial commit of Haskell code
authored
10 stability: experimental
11 synopsis: Fast conversion between double precision floating point and text
12 cabal-version: >= 1.8
13 build-type: Simple
14 description:
b87a85d @bos Update docs.
authored
15 A library that performs fast, accurate conversion between double
16 precision floating point and text.
17 .
18 This library is implemented as bindings to the C++
19 @double-conversion@ library written by Florian Loitsch at Google:
20 <http://code.google.com/p/double-conversion/>.
21 .
22 The 'Text' versions of these functions are about 30 times faster
23 than the default 'show' implementation for the 'Double' type.
24 .
25 The 'ByteString' versions are /slower/ than the 'Text' versions;
26 roughly half the speed. (This seems to be due to the cost of
27 allocating 'ByteString' values via @malloc@.)
28 .
29 As a final note, be aware that the @bytestring-show@ package is
30 about 50% slower than simply using 'show'.
92f333f @bos Initial commit of Haskell code
authored
31
32 extra-source-files:
33 README.markdown
61b5a8e @bos Add files
authored
34 benchmarks/*.cabal
35 benchmarks/*.hs
5034fc1 @bos Merge with git master
authored
36 double-conversion/*.cmake.in
37 double-conversion/AUTHORS
38 double-conversion/CMakeLists.txt
92f333f @bos Initial commit of Haskell code
authored
39 double-conversion/COPYING
f3fce4f @bos Fix typo
authored
40 double-conversion/Changelog
92f333f @bos Initial commit of Haskell code
authored
41 double-conversion/LICENSE
42 double-conversion/Makefile
43 double-conversion/README
44 double-conversion/SConstruct
45 double-conversion/src/*.cc
46 double-conversion/src/*.h
5034fc1 @bos Merge with git master
authored
47 double-conversion/src/CMakeLists.txt
92f333f @bos Initial commit of Haskell code
authored
48 double-conversion/src/SConscript
5034fc1 @bos Merge with git master
authored
49 double-conversion/test/CMakeLists.txt
92f333f @bos Initial commit of Haskell code
authored
50 double-conversion/test/cctest/*.cc
51 double-conversion/test/cctest/*.h
5034fc1 @bos Merge with git master
authored
52 double-conversion/test/cctest/CMakeLists.txt
92f333f @bos Initial commit of Haskell code
authored
53 double-conversion/test/cctest/SConscript
cb7fb3f @bos Add missed files
authored
54 include/*.h
50f2c5b @bos Add tests to tarball
authored
55 tests/*.hs
92f333f @bos Initial commit of Haskell code
authored
56
57 flag developer
58 description: operate in developer mode
59 default: False
553660e @bos Make "developer" a manual flag
authored
60 manual: True
92f333f @bos Initial commit of Haskell code
authored
61
62 library
63 c-sources:
64 cbits/hs-double-conversion.cc
65 double-conversion/src/bignum.cc
66 double-conversion/src/bignum-dtoa.cc
67 double-conversion/src/cached-powers.cc
68 double-conversion/src/diy-fp.cc
69 double-conversion/src/double-conversion.cc
70 double-conversion/src/fast-dtoa.cc
71 double-conversion/src/fixed-dtoa.cc
72 double-conversion/src/strtod.cc
73
74 extra-libraries: stdc++
75
76 include-dirs:
77 double-conversion/src
78 include
79
80 exposed-modules:
129a987 @bos Add a ByteString module, and benchmarks.
authored
81 Data.Double.Conversion.ByteString
82 Data.Double.Conversion.Text
92f333f @bos Initial commit of Haskell code
authored
83
d07a327 @bos Refactor in preparation for adding ByteString support.
authored
84 other-modules:
85 Data.Double.Conversion.FFI
86
92f333f @bos Initial commit of Haskell code
authored
87 build-depends:
88 base == 4.*,
129a987 @bos Add a ByteString module, and benchmarks.
authored
89 bytestring,
92f333f @bos Initial commit of Haskell code
authored
90 ghc-prim,
91 text >= 0.11.0.8
92
93 if flag(developer)
94 ghc-options: -Werror
95 ghc-prof-options: -auto-all
96 else
97 cc-options: -DNDEBUG
98
99 ghc-options: -Wall
100
101 cpp-options: -DINTEGER_GMP
102
103 if impl(ghc >= 6.11)
fcc96e6 @bos Kill off more upper bounds
authored
104 build-depends: integer-gmp >= 0.2
92f333f @bos Initial commit of Haskell code
authored
105
106 if impl(ghc >= 6.9) && impl(ghc < 6.11)
107 build-depends: integer >= 0.1 && < 0.2
108
10f90ad @bos Use Cabal's test support instead of our own crud.
authored
109 test-suite tests
110 type: exitcode-stdio-1.0
111 hs-source-dirs: tests
112 main-is: Properties.hs
0d8ad82 @bos Cover both Text and ByteString versions of toShortest.
authored
113 ghc-options: -Wall
10f90ad @bos Use Cabal's test support instead of our own crud.
authored
114 build-depends:
115 base,
0d8ad82 @bos Cover both Text and ByteString versions of toShortest.
authored
116 bytestring,
10f90ad @bos Use Cabal's test support instead of our own crud.
authored
117 double-conversion,
118 test-framework,
119 test-framework-quickcheck2,
120 text
121
92f333f @bos Initial commit of Haskell code
authored
122 source-repository head
123 type: git
4afe0a3 @bos Update mailrank addresses to serpentine
authored
124 location: https://github.com/bos/double-conversion
92f333f @bos Initial commit of Haskell code
authored
125
126 source-repository head
127 type: mercurial
128 location: https://bitbucket.org/bos/double-conversion
Something went wrong with that request. Please try again.