delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/09/02:14:29

Date: Sun, 9 Apr 2000 08:41:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
cc: djgpp-workers AT delorie DOT com
Subject: Re: One more GDB for DJGPP little oddity
In-Reply-To: <200004071340.PAA16017@cerbere.u-strasbg.fr>
Message-ID: <Pine.SUN.3.91.1000409084054.7469R-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 7 Apr 2000, Pierre Muller wrote:

>    if I have a long double var named x of value 1e+4893
> if I print it out
> 
>   "p x"
> I get
>   " 1e+4893"
> 
>   but once loaded onto FPU stack 
> I get +Inf on the right part of the display !

In what version of GDB?

Please also post a short test program that can be used to reproduce
this.

>   on the contrary p /x $st0 shows  12 bytes whereas only ten are significant
> (this is better in info float !)

What's wrong with having 12 bytes displayed?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019