File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/learning-paths/cross-platform/floating-point-rounding-errors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ You can see this by comparing an example application on both an x86 and an Arm L
1414
1515Run 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
6666sudo apt update
@@ -75,7 +75,7 @@ The compile command is the same on both systems.
7575g++ 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
You can’t perform that action at this time.
0 commit comments