Re: [pure-lang-users] math.pure
Status: Beta
Brought to you by:
agraef
From: John C. <co...@cc...> - 2008-08-22 22:33:59
|
Eddie Rucker scripsit: > The user must determine the domain they are going work in. No different > than working with OCaml. A running joke was an acceptance test for nascent Common Lisp implementations developed by Guy Steele. It was in three parts. First you type T; if it responds T, it passes part 1. Second, you define the factorial function and then calculate (/ (factorial 1000) (factorial 999)). If it responds 1000, it passes part 2. Third, you try (atanh -2). If it returns a complex number, it passes; extra credit if it returns the correct complex number. It was a long time before any Common Lisp implementation passed the third part. --Steele and Gabriel, "The Evolution of Lisp" Common Lisp: The Language lays down explicitly that (expt -8 1/3) must not return -2, as -2 is not the *principal* cube root of -8; instead it should return #C(1.0 1.7320508). -- They tried to pierce your heart John Cowan with a Morgul-knife that remains in the http://www.ccil.org/~cowan wound. If they had succeeded, you would become a wraith under the domination of the Dark Lord. --Gandalf |