A binding to the libBF library.

Version on this page:0.6.3
LTS Haskell 22.16:0.6.7
Stackage Nightly 2024-04-12:0.6.7
Latest on Hackage:0.6.7

See all snapshots libBF appears in

MIT licensed by Iavor Diatchki
Maintained by [email protected]
This version can be pinned in stack with:libBF-0.6.3@sha256:ad38e44a038b8da62c82a58b8a762331097569c27a5978258caed8b28cda73e2,1770

Module documentation for 0.6.3

Used by 3 packages in lts-18.28(full list with versions):

LibBF is a C library for working with arbitray precision IEEE 754 floating point numbers.


Revision history for libBF-hs

0.6.3 – 2021-10-14

  • Fix an additional compile issue on 32-bit systems. Previously the argument to fmul2Exp was incorrectly specified as an Int64.

0.6.2 – 2021-02-19

  • Fix a bug related to incorrect marshalling of String to C in setString and bfFromString.

0.6.1 – 2021-02-16

  • Fix a linker issue on Windows when loading via the GHC dynamic linker.

0.6 – 2021-01-29

  • Fix a bug with frint and bfRoundInt that was causing incorrect rounding modes to be selected.

  • Implement additional operations on BigFloat values, including some missing predicates, conversions to and from binary form and fused-multiply-add.

  • Fix a compile issue on 32-bit systems.

0.5.2 – 2021-01-12

  • Use install-includes over c-sources for header files to avoid linker issues.

0.5.1 – 2020-07-13

  • Add header files to c-sources field to include them in sdist.

0.5.0 – 2020-07-01

  • First version. Released on an unsuspecting world.