Skip to content

Commit

Permalink
styler
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanThoma committed Oct 9, 2023
1 parent 14e85c8 commit 028082e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion posts/2023-10-30_floating_point/floating_point.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ For example, 0.5 is stored as $\frac{1}{2}$, 0.25 is stored as $\frac{1}{4}$, 0.
0.0625 %>% format(digits = 22)
# some weird values for x and y
(1121/(2^9)) %>% format(digits = 22)
(1121 / (2^9)) %>% format(digits = 22)
```

All floating point values are stored as $\frac{x}{2^y}$, where the outcome may be a very close approximation to the value they represent.
Expand All @@ -83,6 +83,8 @@ All floating point values are stored as $\frac{x}{2^y}$, where the outcome may b

## Conclusion



<!--------------- appendices go here ----------------->

```{r, echo=FALSE}
Expand Down

0 comments on commit 028082e

Please sign in to comment.