Details

Type: Bug

Status: Verified

Priority: Critical

Resolution: Fixed

Affects Version/s: 11.4, 12.0

Fix Version/s: 11.5 [Tentative], 12.0, 19.0

Component/s: Tests & Quizzes (Samigo)

Labels:

12 status:Resolved

11 status:Resolved

Previous Issue Keys:SAM3330

Test Plan:
Description
The Calculated Question parser has problems.
Here is a complex formula that should come up with 866.2 but custom SamigoExpressionParser comes up with 894:
(185.9*1000*3.8/1200)/(11/(1+3.8/1200)^360)
Here are some simple examples from the current tests that also seem to be incorrect:
sin(PI) previously calculated as 1.23E16
tan(PI) previously calculated as 1.23E16
Github repo:
https://github.com/redbito/MathParser.orgmXparser
License is BSD 2
Gliffy Diagrams
Zeplin
Attachments
Issue Links
 depends on

SAK35348 Calculated questions' automatic scientific notation conversion threshold too low
 CLOSED

SAK32707 NumberFormatException: For input string: ":0" when generating PDF with timezone <= GMT 10
 Verified
 is depended on by

SAK33810 Update documentation for calculated question after mxParser upgrade
 RESOLVED