# Is this a bug

**URL:** <https://discourse.julialang.org/t/is-this-a-bug/85130>\
**Category:** General Usage\
**Tags:** bug\
**Created:** [August 1, 2022, 11:42pm UTC](https://discourse.julialang.org/t/is-this-a-bug/85130 "2022-08-01T23:42:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Starpower\_Power](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/starpower_power/32/38282_2.png) [@Starpower\_Power](https://discourse.julialang.org/u/Starpower_Power)\
**Post date:** [August 1, 2022, 11:42pm UTC](https://discourse.julialang.org/t/is-this-a-bug/85130/1 "2022-08-01T23:42:13Z")

</div>

a=1  
for i in range(1,5)  
a=i\*a^i  
end

now result is zero  
is this kind of bug

![image](https://global.discourse-cdn.com/julialang/original/3X/6/5/657a9f93b4e5d3cf05f539114ae798c255b050c5.png)

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [August 1, 2022, 11:45pm UTC](https://discourse.julialang.org/t/is-this-a-bug/85130/2 "2022-08-01T23:45:30Z")

</div>

> [@Discussion about integer overflow](https://discourse.julialang.org/t/discussion-about-integer-overflow/69627):
>
> Yes, it is a limitation but I would not call it big since we could use BigInt if Int64 is not enough and an overflow is something we can catch. I find more worrying this: \> julia\> 1 / 10^20000 \> Inf I’d rather have an overflow here than Inf, or at least an Infinitesimal value… Maybe something we could ask for future versions of Julia.
