🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51377

GCC Handling of long doubles

#51377
From: Shaun McCullagh
Date: Wed, 26 May 1993 17:58
33 lines
1759 bytes
Hi,

We use gcc v2.3.3 on a Sun SPARCStation 2 (Sun OS 4.1.1B).

A colleague has asked me to investigate how many bits are allocated for long double types.

The default for this setup appears to 64 bits.

I see in the file 'sparc.h' there is

#define LONG_DOUBLE_TYPE_SIZE 128

Which I assume defines long doubles to be 128 bits. 

Please can you explain why only 64 bits are being allocated? Is there anything we can do increase the number bits GCC allocates for long double types?

TIA




Shaun McCullagh (RA)
School of Information Systems.,
University of East Anglia.,
Norwich
England NR4 7TJ

sm@uk.ac.uea.sys ( JANET )      	       	Tel +44 603 592307
sm@sys.uea.ac.uk ( Other Nets ) 	       	FAX +44 603 507720

*******************************************************************
Life is like sanskrit read to a pony 
*******************************************************************
Technical Details
Message-ID: <9795.9305261705@sys.uea.ac.uk>
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!ifmsun8.ifm.uni-hamburg.de!news.DKRZ-Hamburg.DE!dscomsa!dxcern!mcsun!uknet!doc.ic.ac.uk!aixssc.uk.ibm.com!yktnews.watson.ibm.com!newsgate.watson.ibm.com!news.ans.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!math.ohio-state.edu!cis.ohio-state.edu!information-systems.east-anglia.ac.UK!sm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,615271614b541b99,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-26 13:37:26 PST
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!ifmsun8.ifm.uni-hamburg.de!news.DKRZ-Hamburg.DE!dscomsa!dxcern!mcsun!uknet!doc.ic.ac.uk!aixssc.uk.ibm.com!yktnews.watson.ibm.com!newsgate.watson.ibm.com!news.ans.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!math.ohio-state.edu!cis.ohio-state.edu!information-systems.east-anglia.ac.UK!sm
From: sm@information-systems.east-anglia.ac.UK (Shaun McCullagh)
Newsgroups: gnu.gcc.help
Subject: GCC Handling of long doubles
Date: 26 May 1993 13:58:44 -0400
Organization: GNUs Not Usenet
Lines: 34
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9795.9305261705@sys.uea.ac.uk>