Skip to content

Strange behaviour with some floating point subtraction #561

@shennan

Description

@shennan

Why do these evaluations not equate to true?

screen shot 2016-02-01 at 19 04 52

They do equate correctly when not using a conditional (== answer), which makes me think that any funky floating/rounding logic is not being applied when evaluating conditions. For example:

screen shot 2016-02-01 at 19 12 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions