kehoea at parhasard.net
Wed Feb 4 10:55:00 EST 2009
Ar an cúigiú lá de mí Feabhra, scríobh Stephen J. Turnbull:
> Aidan Kehoe writes:
> > Ar an ceathrú lá de mí Feabhra, scríobh Giacomo Boffi:
> > > my question: how can i use bigfloats in my computations? i have to say
> > > that the xemacs user manual was slightly unhelpful...
> I think you need to set `default-float-precision' non-zero, or do an
> explicit `coerce' as in Aidan's post. Once you figure out how to do
> what you want to do, a patch to the manual would be nice. :-)
That won’t work for Giacomo’s first example, #'exp doesn’t know about
> > It seems buggy to me, and it certainly doesn’t have the nice
> > convert-to-bignum-on-overflow behaviour that integer computations have.
> Due to the nature of bigfloats (unlike bignums, which do not take
> parameters, bigfloats are parametrized by the precision), it's not
> clear to me what "nice behavior on overflow" might be for bigfloats.
> If you'd like to try to specify what you think should happen, feel
> free. Maybe Jerry will kick in some advice on how to achieve it, or
> even some code.
Now I look, Common Lisp has nothing like the bigfloat type; there’s probably
no well-specified behaviour for this out there. Though the Lisp printer
should behave better!
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
More information about the XEmacs-Beta