# Long Math Operation result is 0, In Python isn't

**URL:** <https://discourse.julialang.org/t/long-math-operation-result-is-0-in-python-isnt/73720>\
**Category:** New to Julia\
**Tags:** question, integer-overflow\
**Created:** [December 28, 2021, 7:17pm UTC](https://discourse.julialang.org/t/long-math-operation-result-is-0-in-python-isnt/73720 "2021-12-28T19:17:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mcabbott](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcabbott/32/6603_2.png) [@mcabbott](https://discourse.julialang.org/u/mcabbott)\
**Post date:** [December 28, 2021, 7:27pm UTC](https://discourse.julialang.org/t/long-math-operation-result-is-0-in-python-isnt/73720/2 "2021-12-28T19:27:22Z")

</div>

> [@Jogrefer](#):
>
> `234^23423`

The problem is that integers overflow, and thus:

```julia
julia> 234^23423
0

julia> 235^23423
-5572363361863899709

```

Maybe someone knows a better FAQ link, this is one thread about it:

> [@Why is 2^63 negative?](https://discourse.julialang.org/t/why-is-2-63-negative/48513):
>
> Hi wave Making my first steps into julia, coming from R and python. Following the getting started guide, I noticed the following: 2^62 # 4611686018427387904 2^63 # \<--- This is negative? # -9223372036854775808 2^63 \> 1 # false 2^64 # 0 # this is zero, but that makes sense if it is a 64 bit float I’d be interested to understand why? For reference, python and R below: 2^63 \> 1 # true 2^63 \> 1 # [1] TRUE

---

_[View the full topic](https://discourse.julialang.org/t/long-math-operation-result-is-0-in-python-isnt/73720)._
