Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALMOSTEQ (~=): Make conditions on parameters less strict #876

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

ftence
Copy link
Contributor

@ftence ftence commented Nov 19, 2020

One of the operand had to be a double, which is not required by the code. Removed that.

Be careful: the comparison with lambda was strict, which is not what users could expect. For instance, 1 1 0 ~= would return false. Changed that also.

@hbs hbs merged commit 0af6731 into senx:master Dec 2, 2020
@ftence ftence deleted the almosteq_loose branch December 7, 2020 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants