🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Elizabeth Chastain Fri, 10 May 2002 17:06
Re: numeric_limits<float>::max
#2117
Author: Michael Elizabeth Chastain
Date: Fri, 10 May 2002 17:06
30 lines
1704 bytes
(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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads