Crates.io | strtod2 |
lib.rs | strtod2 |
version | 0.0.1 |
source | src |
created_at | 2020-10-15 03:48:28.635835 |
updated_at | 2020-10-15 03:48:28.635835 |
description | Forked from strtod, A high precision floating point parser implementation for Rust |
homepage | https://github.com/surnrise-choir/strtod |
repository | https://github.com/surnrise-choir/strtod |
max_upload_size | |
id | 299865 |
size | 49,633 |
Apache 2.0 License.
strtod
is a floating point parsing implementation for Rust with very
high precision, far better than the built in Rust floating point parser.
The documentation can be found at http://pvginkel.github.io/strtod/strtod/.
The quality of the source is not really something to write home about. The reason for this is that this implementation is a verbatim translation from http://mxr.mozilla.org/mozilla-central/source/js/src/dtoa.c. That being said, the quality of the parser itself is very high.
The performance of this implementation should be OK. However there is room for improvement in the BigNum implementation that the parser uses, e.g. by caching instances or calculations. The original implementation does this, but this has been removed from this implementation.
Bugs should be reported through github at http://github.com/pvginkel/strtod/issues.
PdfiumViewer is licensed under the Apache 2.0 license. See the license details for how PDFium is licensed.