Skip to content

Commit e6159be

Browse files
committed
documentation
1 parent ce6052d commit e6159be

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ cmake --build build
3333
./build/benchmarks/benchmark
3434
```
3535

36+
Some functionality might be disabled under some systems. For example, under macOS with
37+
libc++, some tests might be omitted because it does not yet fully support C++17.
38+
3639
We also support Visual Studio, please refer to the cmake documentation.
3740

3841
You may use docker to run these benchmarks easily on a variety of platforms: see https://github.com/lemire/docker_programming_station
@@ -64,12 +67,31 @@ Serialize strings generated from floats in (0,1):
6467
## Exhaustive 32-bit check
6568

6669
We also include an exhaustive check of all 32-bit floats, to verify
67-
that we can produce the shortest string representation.
70+
that we can produce the shortest string representation (measured by
71+
the number of significant digits).
72+
73+
Under Linux, you may run the following check:
6874

6975
```
76+
cmake -B build .
77+
cmake --build build --config Release
7078
./build/benchmarks/exhaustivefloat32
7179
```
7280

81+
## Thorough 64-bit check
82+
83+
We also include a thorough check of many 64-bit floats, to verify
84+
that we can produce the shortest string representation (measured by
85+
the number of significant digits).
86+
87+
Under Linux, you may run the following check:
88+
89+
```
90+
cmake -B build .
91+
cmake --build build --config Release
92+
./build/benchmarks/thoroughfloat64
93+
```
94+
7395
## Other existing benchmarks
7496

7597
- [dtoa Benchmark](https://github.com/miloyip/dtoa-benchmark)

0 commit comments

Comments
 (0)