W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1995

Re: Dilbert, the Next Generation

From: Simon Spero <ses@tipper.oit.unc.edu>
Date: Fri, 17 Nov 1995 18:39:04 -0800 (PST)
To: Larry Masinter <masinter@parc.xerox.com>
Cc: HTTP working Group <http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com>
Message-Id: <Pine.SOL.3.91.951117183805.20422B-100000@chivalry>
On Fri, 17 Nov 1995, Larry Masinter wrote:

> gif! gif!

http://sunsite.unc.edu/ses/dogbert.gif

(defun modexpt (x y n)  "computes (x^y) mod n"
  (cond ((= y 0) 1)  ((= y 1) (mod x n))
	((evenp y) (mod (expt (modexpt x (/ y 2) n) 2) n))
	(t (mod (* x (modexpt x (1- y) n)) n))))
Received on Friday, 17 November 1995 18:41:50 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:36 EDT