Python going to 0.0 after too many divisions

Viewed 253

So, I have the following code:

    half= 1/2.0
    print(half)
    for x in range(1,1075):
        half=half/2.0
        print(half)

But right at the last part of the loop, python decides that half is now 0.0

    1.265e-321
    6.3e-322
    3.16e-322
    1.6e-322
    8e-323
    4e-323
    2e-323
    1e-323
    5e-324
    0.0

Did I reach python's limit? Do I need to install a package to go farther? I'm not sure why this is happening, but I'm assuming that python just reached limit

2 Answers
Related