Skip to content

Commit 5ae8a88

Browse files
Final tweaks
1 parent 3e26f94 commit 5ae8a88

File tree

1 file changed

+3
-3
lines changed
  • content/learning-paths/cross-platform/floating-point-rounding-errors

1 file changed

+3
-3
lines changed

content/learning-paths/cross-platform/floating-point-rounding-errors/how-to-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can see this by comparing an example application on both an x86 and an Arm L
1414

1515
Run this example on any Linux system with x86 and Arm architecture; on AWS, use EC2 instance types `t3.micro` and `t4g.small` with Ubuntu 24.04.
1616

17-
To learn about floating-point differences, use an editor to copy and paste the C++ code below into a new file named `converting-float.cpp`.
17+
To learn about floating-point differences, use an editor to copy and paste the C++ code below into a new file named `converting-float.cpp`:
1818

1919
```cpp
2020
#include <iostream>
@@ -60,7 +60,7 @@ int main() {
6060
}
6161
```
6262
63-
If you need to install the `g++` compiler, run the commands below.
63+
If you need to install the `g++` compiler, run the commands below:
6464
6565
```bash
6666
sudo apt update
@@ -75,7 +75,7 @@ The compile command is the same on both systems.
7575
g++ converting-float.cpp -o converting-float
7676
```
7777

78-
For easy comparison, the image below shows the x86 output (left) and Arm output (right). The highlighted lines show the difference in output.
78+
For easy comparison, the image below shows the x86 output (left) and Arm output (right). The highlighted lines show the difference in output:
7979

8080
![differences](./differences.png)
8181

0 commit comments

Comments
 (0)