On 2010-11-26 16:10:39 +0100, Marc Glisse wrote: > On Fri, 26 Nov 2010, Elias Gabriel Amaral da Silva wrote: > > >Seems to yield the same precision for long double on both ia32 and > >amd64 - that is, just 20 digits. This seems too few, looking there: > > > >http://en.wikipedia.org/wiki/IEEE_754-2008#Basic_formats > > > >Shouldn't I expect at least more than 30 digits, on amd64? > > long double would be binary80. Not even that. In binary{k}, k is required to be either 16 or a multiple of 32. Moreover these interchange formats use the implicit bit, which is not the case of Intel's double-extended format. -- Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)