Skip to content

Instantly share code, notes, and snippets.

@alandipert
Created December 15, 2017 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alandipert/f2602716487f29701b94e0db3a628e14 to your computer and use it in GitHub Desktop.
Save alandipert/f2602716487f29701b94e0db3a628e14 to your computer and use it in GitHub Desktop.
(defun next-value (factor prev-val)
(declare (optimize speed)
(type fixnum factor prev-val))
(mod (* factor prev-val) +divisor+)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment