Skip to content

Commit cd1abb3

Browse files
authored
Merge pull request #128 from ckormanyos/update_docs
Update docs
2 parents 02c6c93 + eb6798f commit cd1abb3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ soft_double
1818
<img src="https://img.shields.io/github/commit-activity/y/ckormanyos/soft_double" alt="GitHub commit activity"></a>
1919
<a href="https://github.com/ckormanyos/soft_double">
2020
<img src="https://img.shields.io/github/languages/code-size/ckormanyos/soft_double" alt="GitHub code size in bytes"></a>
21-
<a href="https://godbolt.org/z/5h813WTGo" alt="godbolt">
21+
<a href="https://godbolt.org/z/dqTG9cPbT" alt="godbolt">
2222
<img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" /></a>
2323
</p>
2424

@@ -93,16 +93,16 @@ $$\sqrt{\pi}~{\approx}~1.77245385090551602730{\ldots}$$
9393

9494
This example, compiled with successful output result,
9595
is shown in its entirety in the following
96-
[short link](https://godbolt.org/z/5h813WTGo) to [godbolt](https://godbolt.org).
96+
[short link](https://godbolt.org/z/dqTG9cPbT) to [godbolt](https://godbolt.org).
9797

9898
```cpp
99+
#include <math/softfloat/soft_double.h>
100+
99101
#include <cmath>
100102
#include <iomanip>
101103
#include <iostream>
102104
#include <sstream>
103105

104-
#include <math/softfloat/soft_double.h>
105-
106106
auto main() -> int
107107
{
108108
using ::math::softfloat::soft_double;
@@ -189,16 +189,16 @@ of a square root function and its comparison of its result
189189
with the known control value.
190190

191191
See this example fully worked out at the following
192-
[short link](https://godbolt.org/z/Wans3c5xb) to [godbolt](https://godbolt.org).
192+
[short link](https://godbolt.org/z/ec1GG1sxd) to [godbolt](https://godbolt.org).
193193
The generated assembly includes nothing other than the call to `main()`
194194
and its subsequent `return` of the value zero
195195
(i.e., `main()`'s successful return-value in this example).
196196

197197
```cpp
198-
#include <cmath>
199-
200198
#include <math/softfloat/soft_double.h>
201199

200+
#include <cmath>
201+
202202
// Use a C++20 (or higher) compiler for this example.
203203

204204
int main()

0 commit comments

Comments
 (0)