Converts double-precision floating-point values to decimal strings with the shortest significands needed for round-trip recovery. Uses the 'zmij' algorithm through a vendored 'Rust' implementation. The method is described in Zverovich (2025), "Faster Double-to-String Conversion" <https://vitaut.net/posts/2025/faster-dtoa/>. Provides vectorized formatting, a correctly rounded inverse parser, and explicit handling of missing and non-finite values.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.2) |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-08-04 |
| DOI: | 10.32614/CRAN.package.zmij (may not be active yet) |
| Author: | Nan Xiao |
| Maintainer: | Nan Xiao <me at nanx.me> |
| BugReports: | https://github.com/nanxstats/zmij/issues |
| License: | MIT + file LICENSE |
| Copyright: | file inst/COPYRIGHTS zmij copyright details |
| URL: | https://nanx.me/zmij/, https://github.com/nanxstats/zmij |
| NeedsCompilation: | yes |
| SystemRequirements: | Cargo (Rust's package manager), rustc >= 1.71.0, xz |
| Materials: | README, NEWS |
| CRAN checks: | zmij results |
| Reference manual: | zmij.html , zmij.pdf |
| Package source: | zmij_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: zmij_0.1.0.zip, r-oldrel: zmij_0.1.0.zip |
| macOS binaries: | r-release (arm64): zmij_0.1.0.tgz, r-oldrel (arm64): zmij_0.1.0.tgz, r-release (x86_64): zmij_0.1.0.tgz, r-oldrel (x86_64): zmij_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=zmij to link to this page.