🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #465

GDB 4.6 bug

#465
From: Richard Stallman
Date: Sun, 11 Oct 1992 10:25
5 lines
637 bytes
On mole, I typed p (float)1.0 + (float)1.0 / (float) (1 << 24) and got
a result which was not 1.  whatis said it was a double.  It ought to
be a float, if the rules of C are followed.

Then I typed p (float) $ and got 1.
Technical Details
Message-ID: <9210111825.AA12049@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: GDB 4.6 bug
Message-ID: <9210111825.AA12049@mole.gnu.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 11 Oct 1992 10:25:56 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 6