fix(real8): normalize finite values and handle underflow consistently

This commit is contained in:
Jan Petykiewicz 2026-11-15 19:51:13 -08:00
commit f081a808ea

View file

@ -18,6 +18,10 @@ A fast GDSII parser and writer in Rust, with Apache Arrow integration for effici
- Optimized "batch" representations for rectangles and boundaries sharing the same layer.
- C-compatible FFI for integration with other languages (e.g., Python).
REAL8 writing uses normalized GDS encodings and represents every in-range `f64`
exactly. Finite magnitudes below `2^-260` underflow to canonical zero; nonfinite
values and magnitudes at or above `2^252` are rejected by the encoder.
## Usage
`read_path` exports a library through the Arrow C Data Interface. Allocate