-
Notifications
You must be signed in to change notification settings - Fork 20
Commit a6afcac
Fix phrase related to "cout" but not relevant for print. (#4)
* Fix phrase related to "cout" but not relevant for print.
* Fix cast of char8_t to char. Has to use reinterpret_cast.
* acos and constexpr with clang++
Removed `-lm` requirement for `acos` on MacOS.
Added a comment about `acos` not being constexpr in some cmath implementations (clang++ for example).
* missing noexcept keyword in code sample
The keyword needs to be on `throw_if_zero` to demonstrate termination due to uncaught exception.1 parent 12a6bc4 commit a6afcac
File tree
3 files changed
+7
-4
lines changed3 files changed
+7
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 | - | ||
136 | + | ||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 | - | ||
159 | + | ||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
468 | 468 |
| |
469 | 469 |
| |
470 | 470 |
| |
471 | + | ||
472 | + | ||
473 | + | ||
471 | 474 |
| |
472 | 475 |
| |
473 | 476 |
| |
| |||
480 | 483 |
| |
481 | 484 |
| |
482 | 485 |
| |
483 | - | ||
486 | + | ||
484 | 487 |
| |
485 | 488 |
| |
486 | 489 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
538 | 538 |
| |
539 | 539 |
| |
540 | 540 |
| |
541 | - | ||
541 | + | ||
542 | 542 |
| |
543 | 543 |
| |
544 | 544 |
| |
|
0 commit comments