From 6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Thu, 2 Jul 2026 11:55:17 -0700 Subject: Init --- Homework/math4610/deprecated-cl/utils,within-range.lisp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Homework/math4610/deprecated-cl/utils,within-range.lisp (limited to 'Homework/math4610/deprecated-cl/utils,within-range.lisp') diff --git a/Homework/math4610/deprecated-cl/utils,within-range.lisp b/Homework/math4610/deprecated-cl/utils,within-range.lisp new file mode 100644 index 0000000..9a0b762 --- /dev/null +++ b/Homework/math4610/deprecated-cl/utils,within-range.lisp @@ -0,0 +1,5 @@ +(in-package :lizfcm.utils) + +(defun within-range-p (x true-value delta) + (and (< x (+ true-value delta)) + (> x (- true-value delta)))) -- cgit v1.3