Ilya Zakharevich on Sat, 12 Oct 2002 12:54:51 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: bug in addrr |
On Tue, Oct 01, 2002 at 05:05:27PM +0200, Karim BELABAS wrote: > 3) switching to base 2^BITS_IN_LONG exponents would enable us to reuse the > integer multiplication code for floating point operations [ currently, they > are disjoint sets of routines ]. In particular fast multiplication would be > enabled at last for t_REALs. Note one shortcoming of this scheme: currently, to convert a float/double etc. to a t_REAL without a loss of precision, one can calculate in advance how many words one needs. With this change one needs to inspect the exponent first. This may introduce many subtle bugs... Hope this helps, Ilya