about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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).