long-double: FFI bindings for C long double

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.


Versions 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:03:33Z


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees