Article View: comp.lang.postscript
Article #10Re: Interesting bug...
From: Andrew Klossner
Date: Tue, 27 Oct 1992 21:22
Date: Tue, 27 Oct 1992 21:22
11 lines
936 bytes
936 bytes
> 0 .1 .9 {
> } for
> Since .1 is not exactly representable
> in binary, roundoff error causes the first for loop to execute only 9 times.
Nothing new here. You can find 25-year-old textbooks warning you not
to make this mistake when writing BASIC programs.
-=- Andrew Klossner (andrew@frip.wv.tek.com)
(uunet!tektronix!frip.WV.TEK!andrew)
Technical Details
Message-ID:
<2044@shaman.wv.tek.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!decwrl!usenet.coe.montana.edu!news.u.washington.edu!ogicse!zephyr.ens.tek.com!shaman!frip!andrewReferences:
<1c793rINNoce@darkstar.UCSC.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!decwrl!usenet.coe.montana.edu!news.u.washington.edu!ogicse!zephyr.ens.tek.com!shaman!frip!andrew From: andrew@frip.WV.TEK.COM (Andrew Klossner) Newsgroups: comp.lang.postscript Subject: Re: Interesting bug... Message-ID: <2044@shaman.wv.tek.com> Date: 27 Oct 92 21:22:18 GMT Article-I.D.: shaman.2044 References: <1c793rINNoce@darkstar.UCSC.EDU> Sender: news@shaman.wv.tek.com Reply-To: andrew@frip.wv.tek.com Organization: Tektronix Color Printers, Wilsonville, Oregon Lines: 11