You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integers are inconsistently displayed and manipulated in the "Calculations" app depending on their number of digits.
If the number of digits is less than 26, the value is displayed as an integer in full, alongside its approximation in scientific format;
If the number has between 26 and 30 digits, only the approximation in scientific format is displayed but the integer value with all its digits is accessible by inspecting the result with the "up" arrow;
If the number has more than 30 digits, only the approximation in scientific format is displayed and the correct integer value is not accessible at all.
Examples:
$24! = 620448401733239439360000$ (24 digits: printed as an integer in full);
$28! = 304888344611713860501504000000$ (30 digits: printed in full provided we inspect the result with the "up" arrow);
$29! = 8841761993739701954543616000000$ (31 digits: only approximated to 14 digits---may vary depending on the number of significant figures chosen---as 8.8417619937397e30).
Even more troubling:
When the integer has more than 30 digits, it seems it is never stored as an integer and only its approximation is accessible. Case in point: when I compute
$29! - 8841761993739701954543616000000$
I get $1.954543616e15$ instead of $0$ and the expression displayed after the computation is not what I entered but:
$29! -8.8417619937397e30$
Screenshots
To Reproduce
Steps to reproduce the behavior:
Go to the 'Calculations' app
Type '29!-8841761993739701954543616000000'
See error
Expected behavior
The user should be able to inspect all the digits of an integer, irrespective of its number of digits. An integer should not be approximated without at least some kind of warning.
Environment
Epsilon version (Settings > About > Software version): 20.4.0
The platform(s) on which the problem happens: online simulator, actual device, etc...
Online simulator. Actual device should also be affected.
The text was updated successfully, but these errors were encountered:
Describe the bug
Integers are inconsistently displayed and manipulated in the "Calculations" app depending on their number of digits.
Examples:
Even more troubling:
When the integer has more than 30 digits, it seems it is never stored as an integer and only its approximation is accessible. Case in point: when I compute
I get$1.954543616e15$ instead of $0$ and the expression displayed after the computation is not what I entered but:
Screenshots
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should be able to inspect all the digits of an integer, irrespective of its number of digits. An integer should not be approximated without at least some kind of warning.
Environment
Online simulator. Actual device should also be affected.
The text was updated successfully, but these errors were encountered: