Article View: pl.comp.os.linux.programowanie
Article #226Re: perl - banalny problem?
From: Bartosz Jakubski
Date: Thu, 09 Sep 1999 10:43
Date: Thu, 09 Sep 1999 10:43
30 lines
1265 bytes
1265 bytes
Piotr Woszczynski napisaล(a):
[...]
>
>#! /usr/bin/perl
>
>$dx=0.01;
>$nx=950;
>
>while ($nx < 1000){
> $nx += $dx;
> print "nowe nx=$nx\n";
>}
>
>Prawda ze banal?
>Uruchomilem... i zbaranialem. Otoz w pewnym momencie programik zaczal
>wypluwac wyniki typu (tak troche z pamieci bo pisze ten post z windy):
>nowe nx=960.0599998898
>nowe nx=960.0699998898
>itd.
RTFM! :-)
man perlfaq4
perldoc perlfaq4
--
-- *Bartosz Jakubski* _Sosnowiec_ --
-- Free software is a matter of liberty, not price. --
-- http://www.fsf.org/philosophy --
Technical Details
Message-ID:
<slrn7tf3qd.ho.migo@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.task.gda.pl!polsl.gliwice.pl!localhost.localdomain!migoReferences:
<37D7467F.4FFB7171@icso.com.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.task.gda.pl!polsl.gliwice.pl!localhost.localdomain!migo From: migo@zse.edu.pl (Bartosz Jakubski) Newsgroups: pl.comp.os.linux.programowanie Subject: Re: perl - banalny problem? Date: 9 Sep 1999 10:43:25 GMT Organization: A poorly-installed InterNetNews site Lines: 30 Message-ID: <slrn7tf3qd.ho.migo@localhost.localdomain> References: <37D7467F.4FFB7171@icso.com.pl> NNTP-Posting-Host: pa117.katowice.ppp.tpnet.pl Mime-Version: 1.0 User-Agent: slrn/0.9.5.7 (UNIX) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit