[Prev][Next][Index]

Random the way you want it



From: mrapple@uop.edu (Nick Sayer)
Newsgroups: rec.humor.funny
Subject: Sadorandom number generator
Date: 15 Dec 90 00:30:05 GMT

Pseudo-random number generators have been available for several
years, but have had the basic limitation that they do not look
at the application of the numbers they generate as they do so.
This problem has finally been conquered, and now for interested
parties, a sadorandom number generator is now available.

This routine examines the current code segment and analyses the
exact purpose for asking for a random number, and finds out
to what use this number will be put. It then chooses the worst
possible number possible for this purpose.

This routine is especially useful for students learning a new
language, or for obtaining the _true_ worst-case output for
sorts and the like.

A special modification to this routine will pick the best possible
string of random numbers. This is useful for demonstrating software
to prospective clients.

Source available on request.