Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id o5GDDAGo019868 for ; Wed, 16 Jun 2010 15:13:13 +0200 Received: (qmail 6865 invoked by alias); 16 Jun 2010 13:13:05 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Jun 2010 13:13:05 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx045) with SMTP; 16 Jun 2010 15:13:05 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o5GDB7BK028982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jun 2010 15:11:09 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o5GArN1U020186; Wed, 16 Jun 2010 15:11:01 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 438829 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Jun 2010 15:11:01 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o5GD10MT014151 for ; Wed, 16 Jun 2010 15:01:00 +0200 Received: from mail-ww0-f49.google.com (mail-ww0-f49.google.com [74.125.82.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o5GD0tew015006 for ; Wed, 16 Jun 2010 15:00:59 +0200 Received: by wwb13 with SMTP id 13so98256wwb.22 for ; Wed, 16 Jun 2010 06:00:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.86.195 with SMTP id w45mr4852620wee.47.1276693255602; Wed, 16 Jun 2010 06:00:55 -0700 (PDT) Received: by 10.216.173.77 with HTTP; Wed, 16 Jun 2010 06:00:55 -0700 (PDT) References: <4C17EAC4.60705@morningstar2.co.uk> <4C18C15C.30509@residenset.net> X-Google-Sender-Auth: BaXDqkPm0GrDJdoqODvFSmmlxIk Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id o5GD10MT014152 Message-ID: Date: Wed, 16 Jun 2010 15:00:55 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?ISO-8859-1?Q?Martin_Schr=F6der?= Subject: Re: l3fp: A floating point unit for expl3 To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4C18C15C.30509@residenset.net> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZg1MkugZcpwIdDb8z5l6KEaP+LdZ7QLw+5sysRz EoIbFTUOx049vUvSLKqRfVGtbHLFCnndXAb+bLkKKfaZuZLzbicx2yskQvasApNxTnoUPr4vtKyG DEvWQ==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6342 2010/6/16 Lars Hellström : > 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