The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

zmij: Round-Trip-Safe Double-Precision Formatting

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
Author: Nan Xiao ORCID iD [aut, cre, cph], David Tolnay [ctb, cph] (Author of the vendored Rust zmij crate), Victor Zverovich [ctb, cph] (Author of the zmij algorithm and original C++ implementation)
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

Documentation:

Reference manual: zmij.html , zmij.pdf

Downloads:

Package source: zmij_0.1.0.tar.gz
Windows binaries: r-devel: zmij_0.1.0.zip, 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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zmij to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.