Memory reinterpretation casts for Float/Double and Word32/Word64

LTS Haskell 21.24:0.1.0
Stackage Nightly 2023-12-10:0.1.0
Latest on Hackage:0.1.0

See all snapshots reinterpret-cast appears in

MIT licensed and maintained by Niklas Hamb├╝chen
This version can be pinned in stack with:reinterpret-cast-0.1.0@sha256:6cfecfff3eb4edcda7388794f23ca03408a884a87d733357d17377fbe45110b8,1995

Module documentation for 0.1.0

Depends on 2 packages(full list with versions):
Used by 1 package in lts-12.26(full list with versions):

Memory reinterpretation casts for Float/Double and Word32/Word64.

The implementations in the .Internal package are different ways to tackle the problem; the array method (current default) is about 5 times faster than the FFI method.