Closed
Description
openedon Mar 28, 2024
The floating point power function fails for a border case of integer argument:
julia> 2.0 ^ typemin(Int) # should be 0.0
0.5
julia> (-1.0) ^ typemin(Int) # should be 1.0
-1.0
The bug seems to be here: Base.Math.pow_body(::Float64, ::Integer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment