🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2251

Re: Old meaning of "long double" declaration

#2251
From: The Amorphous Mass
Date: Tue, 12 Mar 1996 01:28
20 lines
1183 bytes
On 10 Mar 1996, Kevin Miller wrote:

> I compiled and ran the following code on my system to attempt 
> to find out how much precision existed in the various data types:  
>  

[much snippage]

>    long double ldx; 
[...]
>    printf (" Actual Value of ldx    = %10.8f \n", (double) ldx); 

   If you want the actual value of ldx, use the %Lf format specifier, and 
drop the cast to double.

printf("  Actual value of ldx    = %10.8Lf\n", ldx);

/**James Robinson***********************            
  "If a fatal error occurs, the program should not be allowed to continue."
 -- Oracle Pro*C User's Guide         *************james-robinson@uiowa.edu**/
Technical Details
Message-ID: <4i2jvf$8i9@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4hv08g$jep@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: The Amorphous Mass <robinson@blue.weeg.uiowa.edu>
Newsgroups: comp.lang.c.moderated
Subject: Re: Old meaning of "long double" declaration
Date: 11 Mar 1996 19:28:15 -0600
Organization: University of Iowa, Iowa City, IA, USA
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4i2jvf$8i9@solutions.solon.com>
References: <4hv08g$jep@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Sender: robinson@black.weeg.uiowa.edu