Skip to content

Float.ceil returns incorrect result #5593

@mtokioka

Description

@mtokioka

Float.ceil(0.0) returns different value between elixir 1.3.2 and 1.4.0-rc.1

Interactive Elixir (1.3.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Float.ceil(0.0)
0.0
Interactive Elixir (1.4.0-rc.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Float.ceil(0.0)
1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions