help-octave
[Top][All Lists]
Advanced

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

Re: determinant of integer values


From: Miquel Cabanas
Subject: Re: determinant of integer values
Date: Wed, 01 Mar 2006 09:43:48 +0100

hi,

On Wed, 2006-03-01 at 01:15 -0500, John W. Eaton wrote:
> Does anyone have a good way to efficiently and accurately convert from
> c*2^d to a*10^b?

there's a link at the IBM's General Decimal Arithmetic
http://www2.hursley.ibm.com/decimal/ (search for "Conversions", right
column, close to the end) pointing to a paper by David M. Gay, Correctly
Rounded Binary-Decimal and Decimal-Binary Conversions. There's also a
link to the C-source code file implementing the conversion algorithm
(Netlib site, dtoa.c file).

Hope this helps,

Miquel


-- 
Miquel Cabanas, TSSR -----------------------------------------------
Servei de Ressonancia Magnetica Nuclear,
Universitat Autonoma de Barcelona 
------------------------------------------o-oo--ooo---ooo--oo-o-----



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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