Наименьшее возможное число в python

Примеры кода

0
0

как напечатать наименьшее число в python

# creating empty list
lis = []

# user enters the number of elements to put in list
count = int(input('How many numbers? '))

# iterating till count to append all input elements in list
for n in range(count):
    number = int(input('Enter number: '))
    lis.append(number)

# displaying smallest element
print("Smallest element of the list is :", min(lis))
0
0

наименьшее возможное число в python

The smallest possible number in python (not underflow to 0)
is the smallest possible subnormal number.

# L is the lowerbound exponent given by IEEE754 double precision.
L_sub < (machine_epsilon * 2**L)  =  (2**-52) * (2**-1022) = 2**-1074

Thus, smallest_number = 2*-1074 => 5e-324

Похожие страницы

Похожие страницы с примерами

На других языках

Эта страница на других языках

English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................