fast_float:快速,精确地实现float和double类型的C ++ from_chars函数:比strtod快4倍

时间:2021-02-04 15:16:39
【文件属性】:
文件名称:fast_float:快速,精确地实现float和double类型的C ++ from_chars函数:比strtod快4倍
文件大小:127KB
文件格式:ZIP
更新时间:2021-02-04 15:16:39
macos linux freebsd visual-studio high-performance fast_float数字解析库:比strtod快4倍 fast_float库为float和double类型的C ++ from_chars函数提供了仅用于标头的快速实现。 这些函数将代表十进制值(例如1.3e10 )的ASCII字符串转换为二进制类型。 我们提供精确的舍入(包括舍入到偶数)。 根据我们的经验,这些fast_float函数比现有C ++标准库中的可比数字解析函数快许多倍。 具体来说, fast_float提供了以下两个具有类似C ++ 17语法的函数(库本身仅需要C ++ 11): from_chars_result from_chars ( const char * fi
【文件预览】:
fast_float-main
----.travis.yml(5KB)
----.github()
--------workflows()
----tests()
--------example_test.cpp(408B)
--------basictest.cpp(36KB)
--------exhaustive32_64.cpp(2KB)
--------string_test.cpp(19KB)
--------long_exhaustive32_64.cpp(2KB)
--------random_string.cpp(8KB)
--------long_random64.cpp(3KB)
--------long_test.cpp(2KB)
--------exhaustive32_midpoint.cpp(5KB)
--------CMakeLists.txt(2KB)
--------exhaustive32.cpp(2KB)
--------powersoffive_hardround.cpp(4KB)
--------long_exhaustive32.cpp(2KB)
--------dtoa.c(155KB)
--------short_random_string.cpp(7KB)
--------random64.cpp(3KB)
----include()
--------fast_float()
----LICENSE(11KB)
----AUTHORS(36B)
----.gitignore(48B)
----CMakeLists.txt(1KB)
----README.md(7KB)
----CONTRIBUTORS(0B)
----script()
--------table_generation.py(700B)
--------analysis.py(649B)
----.cirrus.yml(410B)

网友评论