Skip to content

Float64 raised to an integer's typemin produces incorrect result #57463

Open
@mbarbar

Description

@mbarbar

Some examples showing this

julia> 1.1^typemin(Int)
0.9090909090909091

julia> 1.1^(typemin(Int)+1)
0.0

julia> 1.1^Float64(typemin(Int64))
0.0
julia> 0.05^typemin(Int)
20.0

julia> 0.05^(typemin(Int)+1)
Inf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions