🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #21397

Re: przypisac nieskonczonosc

#21397
From: Bart Ogryczak
Date: Tue, 16 Oct 2007 11:20
28 lines
1852 bytes
On Oct 16, 12:02 pm, Seweryn Habdank-Wojewódzki <shw_m...@wp.pl>
wrote:
> Witam
>
> Bart Ogryczak wrote:
> > Najprosciej tak:
> > PosInf = 1e300 * 1e300
> > NegInf = -PosInf
>
> > No, ale jest to otwarty problem. To zalezy od implementacji systemowej
> > bibliotece w C.
>
> Standard C99 określa takie symbole jak NaN i Inf, więc nie powinno być
> problemu.

Ha, to mi znajdz system, na którym tego standardu sie trzymaja.

Windows:
>>> 1e300*1e300
1.#INF

Solaris:
>>> 1e300*1e300
Infinity

Linux:
>>> 1e300*1e300
inf
Technical Details
Message-ID: <1192533601.905010.17440@y27g2000pre.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!y27g2000pre.googlegroups.com!not-for-mail
References: <20071016103416.e69a7bc7.sulsa@dontmail.me> <1192526464.122236.16990@v23g2000prn.googlegroups.com> <ff21gb$l2i$1@news.vectranet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!y27g2000pre.googlegroups.com!not-for-mail
From: Bart Ogryczak <B.Ogryczak@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: przypisac nieskonczonosc
Date: Tue, 16 Oct 2007 11:20:01 -0000
Organization: http://groups.google.com
Lines: 33
Message-ID: <1192533601.905010.17440@y27g2000pre.googlegroups.com>
References: <20071016103416.e69a7bc7.sulsa@dontmail.me>   <1192526464.122236.16990@v23g2000prn.googlegroups.com>   <ff21gb$l2i$1@news.vectranet.pl>
NNTP-Posting-Host: 195.149.215.221
Mime-Version: 1.0
X-Trace: posting.google.com 1192533602 7362 127.0.0.1 (16 Oct 2007 11:20:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 16 Oct 2007 11:20:02 +0000 (UTC)
In-Reply-To: <ff21gb$l2i$1@news.vectranet.pl>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 oliver (NetCache NetApp/6.0.4P1D4)
Complaints-To: groups-abuse@google.com
Injection-Info: y27g2000pre.googlegroups.com; posting-host=195.149.215.221;   posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit