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

Calculated value looks wrong when calc 2200/60 #874

Closed
2 tasks done
takeru1990 opened this issue Dec 4, 2021 · 3 comments
Closed
2 tasks done

Calculated value looks wrong when calc 2200/60 #874

takeru1990 opened this issue Dec 4, 2021 · 3 comments
Labels
Milestone

Comments

@takeru1990
Copy link

Environment

Ubuntu 20.04

Bug description

I'm using Ulauncher v5.14.2.

When calculating 2200/60, Ulauncher returns 36.666666666666664.
The last digit should be 7 or 6. I'm not sure where 4 comes from.🤔

Thanks.

Log output

No response

Issue isn't already reported

  • I have searched for similar issues before reporting this to avoid creating a duplicate issue

Latest version

  • I am using the latest Ulauncher release
@takeru1990 takeru1990 added the bug label Dec 4, 2021
@friday friday added this to the 6.0.0 milestone Dec 4, 2021
@friday
Copy link
Member

friday commented Dec 4, 2021

It's very easy to fix this, but we are focusing our efforts on the new major version, and trying to avoid pushing more releases for Ulauncher v5 unless it's urgent fixes. This will be added to the v6 branch and won't be released for a while.

friday added a commit that referenced this issue Dec 4, 2021
Fix #874 and floating point errors in general for CalcMode
@friday
Copy link
Member

friday commented Dec 4, 2021

This is now fixed in the Ulauncher v6 branch. It won't be released for a while, but we made a tracking issue if you want to be notified #869

@friday friday closed this as completed Dec 4, 2021
@takeru1990
Copy link
Author

I got it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants