bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #105800] Random number generator builtin


From: Eric Blake
Subject: [sr #105800] Random number generator builtin
Date: Tue, 27 Mar 2007 12:06:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Mnenhy/0.7.5.666

Follow-up Comment #5, sr #105800 (project m4):

I never claimed it was perfect :)  Besides, a random number generator that
depends on the contents of your disk and creates files in the process is
rather weak; I only listed the idea for completeness of what m4 1.4.x already
provides.

But yes, to avoid negative numbers, since m4's eval is signed, you would need
to add &0x7fffffff in the mix.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?105800>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]