Email list hosting service & mailing list manager

floating point and other comments Alex Shinn (18 Dec 2003 02:58 UTC)
Re: floating point and other comments Ken Dickey (18 Dec 2003 16:17 UTC)
Re: floating point and other comments Alex Shinn (19 Dec 2003 01:55 UTC)
Re: floating point and other comments Ken Dickey (20 Dec 2003 02:34 UTC)
Re: floating point and other comments Alex Shinn (20 Dec 2003 08:56 UTC)
Re: floating point and other comments bear (20 Dec 2003 19:00 UTC)
Re: floating point and other comments Alex Shinn (22 Dec 2003 02:16 UTC)
Re: floating point and other comments bear (23 Dec 2003 02:01 UTC)
Re: floating point and other comments Alex Shinn (23 Dec 2003 04:38 UTC)
Re: floating point and other comments Ken Dickey (22 Dec 2003 02:56 UTC)
Re: floating point and other comments Per Bothner (20 Dec 2003 18:05 UTC)
Re: floating point and other comments Ken Dickey (22 Dec 2003 00:41 UTC)
Re: floating point and other comments Alex Shinn (22 Dec 2003 03:50 UTC)
Re: floating point and other comments Ken Dickey (22 Dec 2003 17:05 UTC)
Re: floating point and other comments Alex Shinn (23 Dec 2003 05:23 UTC)
Re: floating point and other comments Alex Shinn (23 Dec 2003 05:26 UTC)

Re: floating point and other comments Alex Shinn 22 Dec 2003 03:48 UTC
At Sun, 21 Dec 2003 16:45:37 +0100, Ken Dickey wrote:
>
> [3] The complied reference implementation is compact:
> 	mit-scheme  format.com    8864 bytes  -- bytecode
> 	gambit         format.so     16448 bytes -- cross-compiled to C
>
> I have not done the work, but it I would guess that supporting ~w,dF would at
> least double the size of the reference implementation.

Attached is a modification to the reference implementation that adds
support for ~w,dF (and thus also lays the groundwork for other format
chars to take parameters) and incurs less than 50% increase in size
(inlining some SRFI-13 procedures and not particularly optimizing for
size):

  mit-scheme  format.com    12336 bytes  -- bytecode

It also modifies ~A to properly detect newlines for cooperation with ~&.

--
Alex