[Push] MinRandomInteger > MaxRandomInteger
Lee Spector
lspector at hampshire.edu
Mon Jun 21 09:38:03 EDT 2010
On the latter: it appears to act as if the argument was positive and then negate the result.
-Lee
On Jun 21, 2010, at 9:16 AM, PerPlex Ed wrote:
> Another detail that I think should be included in the language specification:
>
> what happens if MinRandomInteger > MaxRandomInteger?
>
> Alternatively, what happens when the your lisp function
>
> random::random-integer
>
> is called with a negative argument?
>
>
>
>
> _______________________________________________
> Push mailing list
> Push at lists.hampshire.edu
> https://lists.hampshire.edu/mailman/listinfo/push
--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438
Check out Genetic Programming and Evolvable Machines:
http://www.springer.com/10710 - http://gpemjournal.blogspot.com/
More information about the Push
mailing list