🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42446

Help! Using long doubles with GCC?

#42446
From: Brian Humpherys
Date: Mon, 11 Dec 1995 00:00
15 lines
870 bytes
I am writing some code which needs to handle numbers larger than a 
double is capable of (1e308). I have tried to use long doubles (80 
bits) but can't seem to get them to work. The result of any 
operation on two long doubles is NAN. I am using GCC 2.7.0 on 
Linux kernel version 1.3.45. Any help would be greatly 
appreciated. Thanks!

----
Brian Humpherys
ift.ee.byu.edu

-- 
----
Brian Humpherys
humpherb@ift.ee.byu.edu   or   74774.434@Compuserve.Com
Technical Details
Message-ID: <4agcpk$4fg$2@mhafc.production.compuserve.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,23ff4216efcf7980,start
X-Google-Attributes: gid11318c,public
From: Brian Humpherys <74774.434@CompuServe.COM>
Subject: Help! Using long doubles with GCC?
Date: 1995/12/11
Message-ID: <4agcpk$4fg$2@mhafc.production.compuserve.com>
X-Deja-AN: 121483984
organization: CompuServe, Inc. (1-800-689-0736)
newsgroups: gnu.gcc.help