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

Insect giving incorrect result! #403

Closed
charlescochran opened this issue Dec 29, 2023 · 1 comment
Closed

Insect giving incorrect result! #403

charlescochran opened this issue Dec 29, 2023 · 1 comment

Comments

@charlescochran
Copy link

image

Insect seems to be incorrectly reporting this simple division, whereas Ubuntu's built-in calculator tool gets it right.

This is Insect terminal version 5.9.0 (installed with npm), but the web version seems to be doing it as well.

Note this behavior:

image

Perhaps it is simply rounding the result for display? But this is alarming nonetheless!

@sharkdp
Copy link
Owner

sharkdp commented Jan 2, 2024

This is just rounding when displaying the numbers. The precision is not lost. But I agree that this is unfortunate. Please see sharkdp/numbat#179, sharkdp/numbat#219 and #54 for more details.

@sharkdp sharkdp closed this as completed Jan 2, 2024
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

No branches or pull requests

2 participants