funcool / funcool/decimal

pos? is broken

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I would expect `(pos? 0)` to be false.
```
(dc/pos? (dc/decimal 0)) ;=> true
```
Also its docstring makes no sense: "Returns true if the value of this Decimal is negative, otherwise returns false."

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.