#pointers #f64 #space #storing #owned #nan-tagged

no-std nan-tag

NaN-tagged pointers in Rust, storing an f64 in the same space as a pointer

2 releases

0.1.1 Jul 19, 2024
0.1.0 Aug 25, 2023

#1155 in Rust patterns

Download history 18/week @ 2024-09-16 7/week @ 2024-09-23

63 downloads per month

MIT license

9KB
201 lines

nan-tag

Crates.io MIT License

A library for NaN-tagged pointers in Rust. The library supports both borrowed and owned pointers (using Box).

License

The code is released under the MIT license.

Dependencies

~58KB