This is random.c in view mode; [Download] [Up]
float crandom(x)
float x;
{
int n;
n=x*1048576.;
return((float)((1061*n+221589) % 1048576)/1048576.);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.