32-bit random numbers

new topic     » topic index » view thread      » older message » newer message

Hi all,

for Euphoria's function rand(x), x may only be from 1 to the largest
positive value of type integer (#3FFFFFFF).

I would like to have a function, that can take any unsigned 32-bit integer
-- i.e. in the interval [0,#FFFFFFFF] -- as argument. Any ideas?

Regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |  The difference between men and boys
 \ /  against HTML in       |  is the price of their toys.
  X   e-mail and news,      |
 / \  and unneeded MIME     |  http://home.arcor.de/luethje/prog/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu