long-double: FFI bindings for C long double

[ bsd3, math ] [ Propose Tags ]

This package provides a LongDouble type, being 80bits of x87 data taking up 96bits on i386 and 128bits on x86_64. On arm it is an alias for 64bit double. On aarch64 it is an alias for quadruple precision _Float128, except under Apple macOS or Microsoft Windows where it equals double. It does not provide a CLDouble type usable for FFI without wrapping in Ptr, this needs to be done by the compiler. See https://ghc.haskell.org/trac/ghc/ticket/3353.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1, 0.1.1,
Change log ChangeLog.md
Dependencies base (>=4.6 && <4.20), float128 (>=0.1 && <0.2), integer-gmp (>=0.5 && <1.2) [details]
License BSD-3-Clause
Copyright (c) 2018,2020,2023 Claude Heiland-Allen
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Revised Revision 1 made by ClaudeHeilandAllen at 2023-10-02T11:11:50Z
Category Math
Home page https://code.mathr.co.uk/long-double
Source repo head: git clone https://code.mathr.co.uk/long-double.git
this: git clone https://code.mathr.co.uk/long-double.git(tag long-double-
Uploaded by ClaudeHeilandAllen at 2023-03-10T23:05:11Z
Reverse Dependencies 2 direct, 7 indirect [details]
Downloads 1595 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-03-10 [all 1 reports]