bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: numeric_limits<float>::max


From: Michael Elizabeth Chastain
Subject: Re: numeric_limits<float>::max
Date: Fri, 10 May 2002 12:06:13 -0500

(My previous message to the mailing list bounced, so this is a duplicate).

Gabriel Zachmann writes:

> I have a funny problem with gdb (GNU gdb Red Hat Linux (5.1-1)):

gdb had problems like this with floating point initialization back in
the gdb 5.1 / Red Hat Linux 6.2 days.

It's unclear whether your gdb is version 5.1-1 or your Red Hat Linux
is version 5.1-1.

Either way, please download gdb 5.2 from:

  ftp://ftp.gnu.org/pub/gnu/gdb/gdb-5.2.tar.gz

Also, if your Red Hat Linux is older than Red Hat Linux 7, upgrade
to one of the 7 series (RHL 7.2 or RHL 7.3).

It's possible that you can work around the problem by adding some
floating point statements to your program.  Something like:

  auto double d = 0.0;

before the other code is getting executed (at the top of main,
or in a static constructor before your other static constructors).

Hope this helps,

Michael C



reply via email to

[Prev in Thread] Current Thread [Next in Thread]