Article View: comp.sys.mac
Article #16565Re: Lightspeed C bug & comment
From: tooch
Date: Fri, 05 Jun 1987 01:18
Date: Fri, 05 Jun 1987 01:18
28 lines
1614 bytes
1614 bytes
In article <936@vaxb.calgary.UUCP> radford@calgary.UUCP (Radford Neal) writes:
>The following program does not work in Lightspeed C v1.02:
>
> #include <stdio.h>
> main()
> { long x;
> x = 7;
> printf("%f\n",(float)(x-1));
> }
>
>It prints 7.0000 rather than six as it ought to. Not very reassuring.
>
Sorry to rain on your parade, but when I compiled it using LSC v2.01
it worked fine. Mark that bug as closed.
A good rule of thumb is to always make sure you're using the latest
version. (There are exceptions (MS Word 3.0), but not many.)
After all, there are two reasons for versions in the first place,
and one of them is bug fixes. (Naming the other is left as an exercise
for the reader.)
On the other hand, it would be nice if Think included with their
releases more detailed notes on what's been fixed, and where the known
bugs lie. Oh, well...
--Mike Tuciarone
Sun Microsystems
If the reply line doesn't work, you didn't want to talk to me anyway.
Technical Details
Message-ID:
<20408@sun.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!amdcad!sun!mongoose!toochReferences:
<936@vaxb.calgary.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!amdcad!sun!mongoose!tooch From: tooch@mongoose.UUCP Newsgroups: comp.sys.mac Subject: Re: Lightspeed C bug & comment Message-ID: <20408@sun.uucp> Date: Thu, 4-Jun-87 21:18:09 EDT Article-I.D.: sun.20408 Posted: Thu Jun 4 21:18:09 1987 Date-Received: Sat, 6-Jun-87 07:02:15 EDT References: <936@vaxb.calgary.UUCP> Sender: news@sun.uucp Reply-To: tooch@sun.UUCP (Michael J. Tuciarone) Organization: Sun Microsystems, Mountain View Lines: 28 Summary: Guess again, que-mas-sabe.