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.


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.17), 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
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
Distributions NixOS:
Reverse Dependencies 2 direct, 7 indirect [details]
Downloads 1431 total (21 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]