Skip to content

exp of some NaNs is negative #56782

Closed
@aplavin

Description

Presumably, negative exp should never happen, and this should return a NaN instead?

julia> reinterpret(Float64, 0x7ffbb14880000000)
NaN

julia> exp(reinterpret(Float64, 0x7ffbb14880000000))
-9.627794635514914e-309

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behaviormathsMathematical functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions