From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4129 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Number conversions (Was Re: My ideas for tooltips) Date: Mon, 19 Feb 2001 15:45:40 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010219154540.019fa690@server-1> References: <00a301c096d2$0f28bb00$a3ccfea9@nuovo> <007b01c09806$6306f540$a3ccfea9@nuovo> <3A8D1B4E.C1394A13@elvenkind.com> <01021622452908.00577@bilbo> <3A8EB3FC.A882C793@quicknet.nl> <000501c0992c$f7eeb180$a3ccfea9@nuovo> <3.0.6.32.20010219121826.017fd480@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394821 23221 80.91.224.250 (23 Oct 2002 17:40:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:40:21 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Taco Hoekwater In-Reply-To: <3A9113B5.513A6D91@elvenkind.com> Xref: main.gmane.org gmane.comp.tex.context:4129 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4129 At 01:38 PM 2/19/01 +0100, Taco Hoekwater wrote: >Hans Hagen wrote: >> >> I'l have a look at it. A few (quick) remarks: >> >> - is the commalist really needed? > >I think so, yes. (the one in \converttoradix). The >macro \buildcommalist that is part of \convertfromradix has a badly >chosen name, it (currently) doesn't involve lists at all. > >I intend to create a version without size limits, and that means >I need a way to process partial numbers safely. > >Life would be a lot easier if TeX had a \remainder and a \modulo >operation. This code looks a lot like assembly programming =) There is a din and mod macro somewhere in the syst modules that way can generalize. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------