Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2535

on the predictability of srand

Newsgroups comp.lang.postscript
From Peter Billam <peter@www.pjb.com.au>
Subject on the predictability of srand
Message-ID <slrnnhjepb.310.peter@box8.pjb.com.au> (permalink)
Date 2016-04-22 05:48 +0000
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Hi :-)  After srand is called with a particular argument, eg
  9999 srand
then AIUI rand will always generate the same sequence of integers
every time the page is viewed whether by gs or gv.  Does that
apply also to xpost ?   Is the rand algorithm in the PS spec ?

Peter

-- 

Peter Billam    www.pjb.com.au    www.pjb.com.au/comp/contact.html

Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

on the predictability of srand Peter Billam <peter@www.pjb.com.au> - 2016-04-22 05:48 +0000
  Re: on the predictability of srand luser- -droog <mijoryx@yahoo.com> - 2016-05-18 01:42 -0700

csiph-web