From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4126 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Number conversions (Was Re: My ideas for tooltips) Date: Mon, 19 Feb 2001 13:38:13 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3A9113B5.513A6D91@elvenkind.com> 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 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035394817 23196 80.91.224.250 (23 Oct 2002 17:40:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:40:17 +0000 (UTC) Cc: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:4126 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4126 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 =) > - can we use etex expr to create a fully expandable alternative Unlikely for \converttoradix, but maybe doable from \convertfromradix. What *precisely* do you need? > also: > > - i will encapsulate this into something \define Wait for a while, there are still many many improvements possible. -- groeten, Taco