Aaron Sherman <[EMAIL PROTECTED]> wrote: > rand/srand
Arent ops (yet[1]) but "methods" of the Random PMC, I've put in some time ago. It's not too much documentated though, but you can get random ints in a range or numbers between 0 and 1 and do a srand. See F<classes/random.pmc> and F<src/utils.c>. > sqrt Seems really missing, wow. Patches to math.ops welcome. leo [1] I think, we shouldn't have an opcode for everything. A PMC is good enough to install some methods (within a distinct namespace), so that we have finally: sys.rand() io.puts() or some such (the latter is a true (NCI) method BTW).