This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] commited, patch for PR 24685


On Wed, Feb 15, 2006 at 11:21:32AM -0800, Richard E Maine wrote:
> 
> On Feb 15, 2006, at 10:15 AM, Steve Kargl wrote:
> 
> >I didn't say single and double precision were mentioned.  I said
> >"as if".  How else can one explain the *seemly* arbitrary choice
> >of 99 and 999?
> 
> Any of several ways... But how do those numbers have anything to do 
> with single and/or double? They don't. As I mentioned, single can have 

It has a lot to do with that.  IEEE single decimal exponents are in
-45 .. 38 range, IEEE double decimal exponents in -324 .. 308 range.
IEEE 854 extended double format has -4951 .. 4932 range, IBM extended
double format has -324 .. 308 range and -4966 .. 4932 range.
So, IEEE single and double numbers can never have > 999 exponents.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]