about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-26 22:04:26 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-26 22:04:26 -0700
commit9c952560daefd45b6a554661401f1f90bf2a6abf (patch)
treed4b253de096390714c79f0ad83f39cc3a389916a
parentc055c4781f63a276adbb0028f724cc6235288ba5 (diff)
downloadmu-9c952560daefd45b6a554661401f1f90bf2a6abf.tar.gz
.
-rw-r--r--mu.md2
-rw-r--r--tutorial/index.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/mu.md b/mu.md
index f4438bde..30227931 100644
--- a/mu.md
+++ b/mu.md
@@ -331,7 +331,7 @@ Negate:
   negate var
 ```
 
-### Floating-point arithmetic
+### Fractional arithmetic
 
 Operations on `float` variables include a few we've seen before and some new
 ones. Notice here that we mostly use floating-point registers `xmm_`, but
diff --git a/tutorial/index.md b/tutorial/index.md
index aa803d98..0ea92a3f 100644
--- a/tutorial/index.md
+++ b/tutorial/index.md
@@ -283,7 +283,7 @@ var x/edx: int <- copy 0
 Run `translate` (or `translate_emulated`) as usual. Use your runbook from Task
 6 to address the errors that arise.
 
-## Task 8: floating point
+## Task 8: fractional numbers
 
 All our variables so far have had type `int` (integer), but there are limits
 to what you can do with just whole integers. For example, here's the formula
@@ -297,7 +297,7 @@ distance * 1.609
 Write a function to perform this conversion. Some starting points:
 * Reread [the section on variables and registers](https://github.com/akkartik/mu/blob/main/mu.md#variables-registers-and-memory)
   with special attention to the `float` type.
-* Read [the section on floating-point arithmetic](https://github.com/akkartik/mu/blob/main/mu.md#floating-point-arithmetic).
+* Read [the section on fractional arithmetic](https://github.com/akkartik/mu/blob/main/mu.md#fractional-arithmetic).
 * One wrinkle is that the x86 instruction set doesn't permit literal
   fractional arguments. So you'll need to _create_ 1.609 somehow. See the
   section on moving values around under [operations on simple types](https://github.com/akkartik/mu/blob/main/mu.md#operations-on-simple-types).