#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

#931 in Rust patterns

25 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