Calculator: BUG: Lack of E exponent in displayed result.
ProximaB opened this issue · comments
Bartek commented
Description
E exponent does not show up in display result
Steps to recreate
The proper result could look like this:
1.6331239e+16
or
Infinity
I found out that the problem is with math.eval function.
I give you two example that you may consider:
math.eval("tan((pi) / 1)") -1.2246467991473532e-16
math.eval("tan((pi) / 2)") 16331239353195370
This may be useful: https://stackoverflow.com/questions/38295501..
People to notify
Instant Answer Page: https://duck.co/ia/view/{ID}
Zaahir Moolla commented
Thanks for the suggestions. DuckDuckHack is in maintenance mode and during this time we are only accepting issues for critical bug reports.
This will be marked as tolerated and closed.