Commit Graph

3560 Commits

Author SHA1 Message Date
Émilie Feral
f546845279 [apps] Test: fix calculation and equation test with layout and
expression seriazlization
2019-08-08 17:22:03 +02:00
Léa Saviot
23acdd7f0d [apps/calc] Simplify the HistoryViewCell::m_calculationCRC32 initialization
It is not very probable that a new CRC32 should be computed to 0, and
maybe not less probable than being computed to the CRC32 of an empty
computation. However this was not mathematially verified.
2019-08-08 17:22:03 +02:00
Léa Saviot
9c95018034 [apps/calc] Init HistoryViewCell::m_calculationCRC32 to better value 2019-08-08 17:22:03 +02:00
Léa Saviot
ee505fe02d [apps/graph] Factorize some code 2019-08-08 17:22:03 +02:00
Léa Saviot
dfe74dc1cb [apps/calculationStore] Remove falty assertion 2019-08-08 17:22:03 +02:00
Léa Saviot
2c783fe630 [apps/calcualtion] Remove TODOs 2019-08-08 17:22:03 +02:00
Ruben Dashyan
3bf1d233f7 [apps/probability] Turn P(14<X) into P(X>14) 2019-08-08 17:22:03 +02:00
Ruben Dashyan
a1fa7d71dc [apps/probability] FiniteIntegralCalculation does not use RightIntegralFirstLegend 2019-08-08 17:22:03 +02:00
Ruben Dashyan
0329eb78cc [apps/probability/calculation] Remove unused method 2019-08-08 17:22:03 +02:00
Ruben Dashyan
162e547d9d [apps] Move some specific i18n to probability 2019-08-08 17:22:03 +02:00
Léa Saviot
76a950d572 [apps/calculation] Add assertions instead of escape cases 2019-08-08 17:22:03 +02:00
Léa Saviot
d027a01851 [apps/calculation] Fix calculation memoization 2019-08-08 17:22:03 +02:00
Léa Saviot
849f9237dd [apps/calculation] Handle calculations too big for buffer 2019-08-08 17:22:03 +02:00
Léa Saviot
a7d3df39c3 Typo 2019-08-08 17:22:03 +02:00
Léa Saviot
f5e11b7d74 [apps/calculation] Exception checkpoint around secondary method
When computing [[2,3,2][ln(2),1,5][1,8,9]] there was a memory pool
failure because of the computation of
exactAndApproximateDisplayedOutputsAreEqual. Because displaying the
right equal symbol is less important than displaying a result, we
encapsulate the method in an exception checkpoint: if there was not
enough memory on the pool to compute the equal sign, just return
EqualSign::Approximation.
2019-08-08 17:22:03 +02:00
Léa Saviot
b4f6e37399 [apps/calcualtion] Optimize pool use 2019-08-08 17:22:03 +02:00
Léa Saviot
9380fafe9d [apps/calculation] Fix coding typo 2019-08-08 17:22:03 +02:00
Léa Saviot
3f6d08dd35 [apps/calc] Use memmove that is safer than memcpy
There was a wrong memcpy used in the memoization buffer sliding
2019-08-08 17:22:03 +02:00
Léa Saviot
05678b48f6 [apps/calc] Remove whole calculation memoization in HistoryViewCell
It is no longer compatible with the new calculations as they no longer
have a constant size.
2019-08-08 17:22:03 +02:00
Léa Saviot
f43e73333a [apps/calculation] Put back memoization 2019-08-08 17:22:02 +02:00
Léa Saviot
c3ee31f80e [apps/calculation] Fix HistoryController/Store index 2019-08-08 17:22:02 +02:00
Léa Saviot
63f20a9844 [apps/function_store] Comment coding style 2019-08-08 17:22:02 +02:00
Léa Saviot
1af882ddae [apps/calculation] Fix calculation history index 2019-08-08 17:22:02 +02:00
Léa Saviot
0f12d226ae [apps/calculation] Put expression in scope
To reduce the number of expressions at a givent time on the pool
2019-08-08 17:22:02 +02:00
Léa Saviot
c7fd11e4b0 [apps/calculation] Calculation store has one big buffer for calculations 2019-08-08 17:22:02 +02:00
Léa Saviot
e15df6d60d [apps] Removed unneeded paramater in ExpiringPointer 2019-08-08 17:22:02 +02:00
Émilie Feral
d0fb30028e [poincare] Use '×' instead of '·' when pressing multiplication key 2019-08-08 17:22:02 +02:00
Émilie Feral
fd25b678ce [poincare] Split Multiplication into MultiplicationExplicite and
MultiplicationImplicite
2019-08-08 17:22:02 +02:00
Émilie Feral
00d86adf3d [apps/sequence] Add tests on third sequence 2019-08-08 17:22:02 +02:00
Émilie Feral
bcac947b05 [apps/sequence] defaultCursorAbscissa is forced positive 2019-08-08 17:22:01 +02:00
Émilie Feral
869ab35c54 Makefile: build only necessary files for test target 2019-08-08 17:22:01 +02:00
Émilie Feral
4c4d420b1f [app/sequence] Fix Sequence toolbox with the third sequence 2019-08-08 17:22:01 +02:00
Émilie Feral
2e7fb601c8 [app/sequence] Add a third sequence 2019-08-08 17:22:01 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Émilie Feral
518903c390 Clean warnings 2019-08-08 17:22:01 +02:00
Émilie Feral
11863804f7 [scripts] Remove EPSILON_BOOT_PROMPT flag 2019-08-08 17:21:53 +02:00
Émilie Feral
a4dfe2eb9e [scripts] Remove EPSILON_ONBOARDING_APP flag 2019-08-08 16:32:18 +02:00
Émilie Feral
2861a35840 Clean some warnings 2019-08-08 16:29:38 +02:00
Émilie Feral
2ddb586bdc [scripts] Remove EPSILON_USB_DFU_XIP flag: specify the right dfu sources
for each target
2019-08-08 16:29:38 +02:00
Léa Saviot
1642df476a [apps/calculation] Don't display exact result for condifence/prediction 2019-08-08 16:29:38 +02:00
Léa Saviot
a6e0471748 [app/solver] Inline code
Does not reduce binary size, but cleaner
2019-08-08 16:29:38 +02:00
Léa Saviot
e5e9f0bf78 [apps/calculation] Fix Calculation::displayOutput
Should return ApproximateOnly if the exactOutput expression is Undefined
2019-08-08 16:29:38 +02:00
Léa Saviot
168e0b492f [apps/calculation] Don't display approximate matrices results only 2019-08-08 16:29:38 +02:00
Léa Saviot
1b42efb2cd [poincare] Tests about basic matrix simplifications + fix tests 2019-08-08 16:29:37 +02:00
Léa Saviot
61cf762eef [poincare] Expression::ReductionContext 2019-08-08 16:29:37 +02:00
Léa Saviot
d11b8a9614 [poincare] Remove flag MATRICES_ARE_DEFINED 2019-08-08 16:24:51 +02:00
Léa Saviot
5a79d26191 [apps/regression] Factorize Model::simplifiedExpression 2019-08-08 16:22:28 +02:00
Léa Saviot
e8be088478 [apps/escher] Factorize TxtArea and Code::EditorCtrlr's k_indentSpaces 2019-08-08 16:22:28 +02:00
Léa Saviot
fbd18dbf7d [apps/Makefile] Fix compilation flags for apps/main.cpp
EPSILON_APPS_NAMES needed when building emscripten
2019-08-07 16:18:20 +02:00
Léa Saviot
989e3427b6 [apps/post_and_hardware_tests] Comment display tests 2019-08-07 11:15:28 +02:00