Article View: pl.comp.lang.python
Article #21413Re: przypisac nieskonczonosc
From: Grzegorz Makarewicz
Date: Wed, 17 Oct 2007 09:29
Date: Wed, 17 Oct 2007 09:29
22 lines
1948 bytes
1948 bytes
Krzysztof Stachlewski wrote: > Grzegorz Makarewicz napisał(a): >> Seweryn Habdank-Wojewódzki wrote: >> >>> Ale mnie interesuje, więc co zrobisz? Jak napisałbyś kod >>> rozróżniający te >>> dwa byty? >>> >>> Jak napiszesz taki kod dla mnie podam ci przykładziki kiedy >>> potrzebuję to >>> obsłużyć. >> >> >> Już wymyślili - w pythonie jest odpowiednia bateria ;) from decimal import * getcontext().traps[InvalidOperation] = 0 nan = Decimal(0) / Decimal(0) print nan mak
Technical Details
Message-ID:
<ff4kks$68a$1@opal.futuro.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!not-for-mailReferences:
<20071016103416.e69a7bc7.sulsa@dontmail.me> <1192526464.122236.16990@v23g2000prn.googlegroups.com> <ff21gb$l2i$1@news.vectranet.pl> <1192533601.905010.17440@y27g2000pre.googlegroups.com> <ff28jc$rkt$1@news.vectranet.pl> <1192538475.635966.79370@z24g2000prh.googlegroups.com> <ff2cc5$vg0$1@news.vectranet.pl> <1192544706.206962.324280@q3g2000prf.googlegroups.com> <ff2orm$bla$1@news.vectranet.pl> <ff32c8$cng$1@opal.futuro.pl> <ff32qc$l8j$1@news.vectranet.pl> <ff34ds$h5c$5@opal.futuro.pl> <ff3453$luk$2@news.vectranet.pl> <ff35gk$ljj$1@opal.futuro.pl> <ff3796$pf5$1@news.vectranet.pl> <ff4ir9$29c$1@opal.futuro.pl> <ff4j1a$dss$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!not-for-mail From: Grzegorz Makarewicz <mak@trisoft.com.pl> Newsgroups: pl.comp.lang.python Subject: Re: przypisac nieskonczonosc Date: Wed, 17 Oct 2007 11:29:41 +0200 Organization: TriSoft Sp. z o.o. Lines: 22 Message-ID: <ff4kks$68a$1@opal.futuro.pl> References: <20071016103416.e69a7bc7.sulsa@dontmail.me> <1192526464.122236.16990@v23g2000prn.googlegroups.com> <ff21gb$l2i$1@news.vectranet.pl> <1192533601.905010.17440@y27g2000pre.googlegroups.com> <ff28jc$rkt$1@news.vectranet.pl> <1192538475.635966.79370@z24g2000prh.googlegroups.com> <ff2cc5$vg0$1@news.vectranet.pl> <1192544706.206962.324280@q3g2000prf.googlegroups.com> <ff2orm$bla$1@news.vectranet.pl> <ff32c8$cng$1@opal.futuro.pl> <ff32qc$l8j$1@news.vectranet.pl> <ff34ds$h5c$5@opal.futuro.pl> <ff3453$luk$2@news.vectranet.pl> <ff35gk$ljj$1@opal.futuro.pl> <ff3796$pf5$1@news.vectranet.pl> <ff4ir9$29c$1@opal.futuro.pl> <ff4j1a$dss$1@node1.news.atman.pl> NNTP-Posting-Host: static-62-233-216-18.devs.futuro.pl Mime-Version: 1.0 X-Trace: opal.futuro.pl 1192613340 6410 62.233.216.18 (17 Oct 2007 09:29:00 GMT) X-Complaints-To: usenet@futuro.pl NNTP-Posting-Date: Wed, 17 Oct 2007 09:29:00 +0000 (UTC) User-Agent: Icedove 1.5.0.10 (X11/20070329) In-Reply-To: <ff4j1a$dss$1@node1.news.atman.pl> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit