LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Martin Schröder <[log in to unmask]>
Wed, 16 Jun 2010 15:00:55 +0200
text/plain (20 lines)
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

ATOM RSS1 RSS2