libera/#sicl - IRC Chatlog Search Thursday, 13th of January 2022, 17:48:03 UTC 4:00:25 beach Good morning everyone! 4:02:02 hayley Good morning beach! 5:44:33 rotateq beach: How is MOD implemented in SICL? The usual way with (mod x y) = (- x (* y (floor (/ x y)))) ? 5:46:08 beach https://github.com/robert-strandh/SICL/blob/master/Code/Arithmetic/mod-defun.lisp 5:46:17 rotateq Okay I look into the wonderful readable source. :) Sorry. 5:47:07 rotateq I should go on implementing it without division via Montgomery reduction, but something didn't work out from translating the "pseudo-code". 5:47:17 rotateq Thank you. 5:47:21 beach Sure.