Date: Fri, 5 Aug 2005 08:58:38 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Peter Jeremy <PeterJeremy@optushome.com.au> Cc: freebsd-current@freebsd.org Subject: Re: Number of significand bits in long double? Message-ID: <20050805155838.GA4147@troutmask.apl.washington.edu> In-Reply-To: <20050805074916.GD2104@cirb503493.alcatel.com.au> References: <20050804162618.GA96657@troutmask.apl.washington.edu> <20050804191547.GB2104@cirb503493.alcatel.com.au> <20050804193030.GA97987@troutmask.apl.washington.edu> <20050805074916.GD2104@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 05, 2005 at 05:49:16PM +1000, Peter Jeremy wrote: > Long double on various FreeBSD architectures is: > Alpha: 53 bits (no hardware long double) > ARM: 53 bits (not sure if ARM supports anything else) > amd64: 64 bits (can be restricted to 24 or 53 bits) > i386: 64 bits (can be restricted to 24 or 53 bits) > iA64: 64 bits > PPC: 53 bits (though I believe the h/w supports 106 or 112 bits) > SPARC: 113 bits Thanks for the info. The code I've written should work on all of the above with the exception of sparc. I don't have access to that hardware, so I won't be writing code for sparc. > IMHO, it would be nice to run the i386 in native precision but that > opens up a can of worms (since expressions will wind up being > evaluated in different precisions depending on whether the compiler > needs to spill registers onto the stack and whether temporary > variables are registers or stack). I'm aware of these worms. > You probably need to have a chat to bde@ I have a whole mailbox full of bde emails concerning the polynomial approximations. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050805155838.GA4147>