[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: number->string radix patch

From: Marius Vollmer
Subject: Re: number->string radix patch
Date: Thu, 10 Jun 2004 18:47:54 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Richard Todd <address@hidden> writes:

> I had done the original patch on a G4 machine.  I'm thinking it's a
> precision difference between macs and intel machines.

For me, the difference is between compiling with optimization and

Compiled with gcc 3.3.3 (Debian 20040422) on i386, CFLAGS=-g:

  guile> (number->string 0.25 2)

Compiled with CFLAGS=-O2:

  guile> (number->string 0.25 2)

So, what can we do about this?

Reliable floating point reading and writing can be tricky, and we will
eventually need to improve our routines anyway, see

For now, I'm inclined to mark the tests as unresolved.

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

[Prev in Thread] Current Thread [Next in Thread]