Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Calculator displays 0 or 0.000000000000000 if the result is too small.

Open MooshiMochi opened this issue 3 years ago • 2 comments

Checks

  • [X] I have checked that this issue has not already been reported.

Problem Description

image If you try to use a calculation that results in a very small number, the calculator will return a rounded result as seen in the picture or 0.

Would recommend to introduce Standard Form notation to solve this issue. Would also recommend to add an option to select the number of Sig Figs or Decimal points to represent the result.

To Reproduce

  1. (6.610^-34)(710^14)-(8.410^-20) - Type this in the query

Screenshots

Already pasted one above, but here it is again. image image

Flow Launcher Version

v1.8.3

Windows Build Number

10.0.19043.1288

Error Log


Replace this line with the important log contents.

MooshiMochi avatar Sep 06 '22 11:09 MooshiMochi

uh, it looks like the query string was formatted by the markdown syntax.. Here it is again: (6.6*10^-34)*(7*10^14)-(8.4*10^-20)

MooshiMochi avatar Sep 06 '22 11:09 MooshiMochi

I don't think we can solve this. It is a precision problem, and the alculator plugin use a numerical lib but not a symbolic lib. So It is expected that we will have issue like this.

taooceros avatar Sep 06 '22 12:09 taooceros

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 22 '22 02:10 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Oct 30 '22 02:10 github-actions[bot]

Will keep this closed since can't be fixed, if a solution found feel free to reopen for implementation.

jjw24 avatar Oct 31 '22 07:10 jjw24