reinterpret-cast

Memory reinterpretation casts for Float/Double and Word32/Word64

https://github.com/nh2/reinterpret-cast

LTS Haskell 22.13:0.1.0
Stackage Nightly 2024-03-14: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):

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.