Article View: pl.comp.lang.python
Article #21426Re: przypisac nieskonczonosc
From: AK
Date: Mon, 25 Mar 2019 19:19
Date: Mon, 25 Mar 2019 19:19
21 lines
1258 bytes
1258 bytes
On 2019-03-25 16:41, maciektorun2004@gmail.com wrote:
> W dniu wtorek, 16 października 2007 10:34:16 UTC+2 użytkownik Sulsa napisał:
>> Jak liczbie zmiennoprzecinkowej w pythonie przypisac wartość
>> +nieskonczoność
>>
>> --
>
> 1e300*1e300 na windows działa
>
import math
math.inf
mozna tez:
float("inf")
ale math.inf naturalniej/lepiej
PS: math.inf == float('inf')
AK
Technical Details
Message-ID:
<q7b9ji$56f$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.mixmin.net!aioe.org!.POSTED.q9pGtmA5ORx5N6A3DYsibA.user.gioia.aioe.org!not-for-mailReferences:
<20071016103416.e69a7bc7.sulsa@dontmail.me> <eae185b7-8270-44d4-a499-66a29c5c4ff0@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.mixmin.net!aioe.org!.POSTED.q9pGtmA5ORx5N6A3DYsibA.user.gioia.aioe.org!not-for-mail From: AK <nobody@nowhere.net> Newsgroups: pl.comp.lang.python Subject: Re: przypisac nieskonczonosc Date: Mon, 25 Mar 2019 20:19:13 +0100 Organization: Aioe.org NNTP Server Lines: 23 Message-ID: <q7b9ji$56f$1@gioia.aioe.org> References: <20071016103416.e69a7bc7.sulsa@dontmail.me> <eae185b7-8270-44d4-a499-66a29c5c4ff0@googlegroups.com> NNTP-Posting-Host: q9pGtmA5ORx5N6A3DYsibA.user.gioia.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 X-Notice: Filtered by postfilter v. 0.9.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit