Convert "fmod" to typst

This commit is contained in:
Mark 2025-01-22 21:18:07 -08:00
parent 6361adb19e
commit 814620ec19
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
2 changed files with 16 additions and 22 deletions

View File

@ -1,22 +0,0 @@
\documentclass[
solutions,
hidewarning,
singlenumbering,
nopagenumber
]{../../../lib/tex/ormc_handout}
\usepackage{../../../lib/tex/macros}
\title{Warm-Up: \texttt{fmod}}
\uptitler{\smallurl{}}
\subtitle{Prepared by Mark on \today.}
\begin{document}
\maketitle
\problem{}
I'm sure you're all familiar with how \texttt{mod(a, b)} and \texttt{remainder(a, b)} work with integers. \par
Devise an equivalent for floats (i.e, real numbers).
\end{document}

View File

@ -0,0 +1,16 @@
#import "@local/handout:0.1.0": *
#show: doc => handout(
doc,
quarter: link(
"https://betalupi.com/handouts",
"betalupi.com/handouts",
),
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).