Convert "fmod" to typst

This commit is contained in:
2025-01-22 21:18:07 -08:00
parent 8c12c4681c
commit 5121f74bde
2 changed files with 10 additions and 22 deletions

View File

@ -0,0 +1,10 @@
#import "@local/handout:0.1.0": *
#show: handout.with(
title: [Warm-Up: `fmod`],
by: "Mark",
)
#problem()
I'm sure you're all familiar with how `mod(a, b)` and `remainder(a, b)` \ work when `a` and `b` are integers.
Devise an equivalent for floats (i.e, real numbers).