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 o5G8j77O009525 for ; Wed, 16 Jun 2010 10:45:09 +0200 Received: (qmail 1842 invoked by alias); 16 Jun 2010 08:45:02 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Jun 2010 08:45:01 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx072) with SMTP; 16 Jun 2010 10:45:01 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o5G8hFbE023988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jun 2010 10:43:16 +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 o5FM15VQ020186; Wed, 16 Jun 2010 10:43:04 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 435225 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Jun 2010 10:43:04 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o5G8h4lP011968 for ; Wed, 16 Jun 2010 10:43:04 +0200 Received: from oberon.open.ac.uk (oberon.open.ac.uk [137.108.141.46]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o5G8h1GC023870 for ; Wed, 16 Jun 2010 10:43:05 +0200 X-IronPort-AV: E=Sophos;i="4.53,425,1272841200"; d="scan'208";a="33207964" Thread-Topic: l3fp: A floating point unit for expl3 Thread-Index: AcsMzuX1GbMUGJMdSZGvDljcgkxC/gAYIByx References: <4C17EAC4.60705@morningstar2.co.uk> Accept-Language: en-US, en-GB Content-Language: en-GB acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id o5G8h4lP011969 Message-ID: Date: Wed, 16 Jun 2010 09:39:13 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "J.Fine" Subject: Re: l3fp: A floating point unit for expl3 To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4C17EAC4.60705@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe6KyumPEzQo/v49H/ 6WH16A3hVxdb50dQBMe/GhyW+KflE2xKxwMOEKvHDWk7UqJoh2LvyLXsywjCkfM1ILLlYNfmOEMt /DqUA==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: 6338 From: Joseph Wright [joseph.wright@MORNINGSTAR2.CO.UK] In terms of input range, I've gone for -999999999.999999999 to +999999999.999999999. This should be sufficient for a wide range of purposes (for example, if you convert a dimen into a floating point number in units pt then you are safe for any dimen TeX can handle). ==== Please would you clarify for me, Joseph. Does this package provide floating point numbers, as described in: http://en.wikipedia.org/wiki/Floating_point From what you've written above it seems that your implementing fixed point. http://en.wikipedia.org/wiki/Fixed-point_arithmetic namely "a fixed number of digits after (and sometimes also before) the radix point". -- Jonathan -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).