Skip to content

floating point error test fails #4

Open
@dragoncoder047

Description

@dragoncoder047

test maths.cog:

PASS: Addition
PASS: Subtraction
PASS: Multiplication
PASS: Division
PASS: Modulus
PASS: Floor
PASS: Ceiling
PASS: Round
PASS: Abs
FAIL: Floating point error
FAIL: Floating point error 2

Python does not pass either so I'm not going to prioritize fixing this.

$ python3 -c "print(0.1 + 0.2 == 0.3, 0.3 * 3 + 0.1 == 1)"
False False

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions