dragoncoder047 / dragoncoder047/cogni

floating point error test fails

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
bug wontfix
Dominant language
C
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.