2010/6/16 Lars Hellström <[log in to unmask]>: > Joseph Wright skrev: >> The next phase is to add some more complex functions. I'm planning to >> cover trigonometry, exponential/ln and roots, plus a pseudo-random number >> generator > > That most standard libraries primarily provide a "uniform in $[0,1]$" (or > some open variation of that interval) PRNG doesn't mean it is the most > natural form of a PRNG. It is entirely reasonable for an l3 core PRNG to > primarily produce random bits or random integers, which could then be > converted to random floats if anyone asks for it; it's easier than going the > other way. Just a reminder: pdftex/luatex does random numbers since 1.30.0 (released 2005-08-01). Porting that code to XeTeX would probably be trivial. Best Martin