So I was using light speed c to do some calculations in VScode and I found this:
julia> c = 3*10^8
300000000
julia> c^3
-1238598680542445568
It's obviously wrong. But if I define c as float number:
julia> c = 3.0*10^8
3.0e8
julia> c^3
2.7e25
Then everything is fine. What is happening? Is this some inherent error within julia or I am asking some silly question?