Léa Saviot
|
8b75802746
|
[calculation] Don't recompute HistoryViewCell layout if same calculation
|
2018-09-20 17:21:34 +02:00 |
|
Émilie Feral
|
365b145cf3
|
[poincare] Change names: LayoutReference-->Layout
|
2018-09-18 16:29:44 +02:00 |
|
Émilie Feral
|
d17b0f1afb
|
[poincare] Get rid of char table of variable size
|
2018-09-17 17:14:43 +02:00 |
|
Émilie Feral
|
616e4c0bcc
|
[poincare] Change name: LayoutRef --> LayoutReference
|
2018-09-14 16:57:12 +02:00 |
|
Émilie Feral
|
2cc01dc2a5
|
[calculation] Calculation model does not need to override copy
constructor
|
2018-09-06 16:37:36 +02:00 |
|
Émilie Feral
|
367f628b5c
|
[calculation] Free the pool of expressions when tidying the application
|
2018-09-06 14:07:41 +02:00 |
|
Léa Saviot
|
e3a09286ac
|
[poincare] Remove AllocationFailures
|
2018-09-05 16:19:11 +02:00 |
|
Léa Saviot
|
71c807b565
|
[poincare] Node->isDefined becomes !Node->isUninitialized
|
2018-08-14 16:40:12 +02:00 |
|
Émilie Feral
|
b5f66171fc
|
[calculation] Fix all reference to Poincare
|
2018-08-10 13:18:46 +02:00 |
|
Émilie Feral
|
e9c42e221b
|
[calculation] Fix Calculation
|
2018-08-10 10:14:59 +02:00 |
|
Émilie Feral
|
7c1649670a
|
[shared] Fix PoincareHelpers
|
2018-08-10 10:13:25 +02:00 |
|
Léa Saviot
|
5a5f2403da
|
[poincare] Fix calculation height allocation failure handling
|
2018-07-30 15:36:45 +02:00 |
|
Léa Saviot
|
2d4e36b98c
|
[apps/calc] Handle alloc failure when computing calculation height
|
2018-07-30 14:47:41 +02:00 |
|
Émilie Feral
|
48f890ef93
|
[poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
|
2018-07-30 13:48:04 +02:00 |
|
Léa Saviot
|
a3032e5ec3
|
Merge branch Tree into master
|
2018-07-19 14:01:02 +02:00 |
|
Émilie Feral
|
e61a408a0a
|
[poincare] Get rid of AngleUnit::Default
|
2018-07-18 17:09:07 +02:00 |
|
Émilie Feral
|
2e7c08241a
|
[poincare] Change writeTextInBuffer signature (parameters are float
display mode and number of significant digits)
|
2018-07-18 16:32:50 +02:00 |
|
Émilie Feral
|
b8af15f1ab
|
[poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
|
2018-07-18 16:32:50 +02:00 |
|
Émilie Feral
|
dd0bc491f6
|
[poincare] Replace Poincare::Complex by std::complex
|
2018-07-18 16:32:49 +02:00 |
|
Léa Saviot
|
f579e95815
|
[poincare] Start removing ExpressionLayout
|
2018-07-03 17:33:06 +02:00 |
|
Émilie Feral
|
e9c4485eeb
|
Merge branch 'solver' into upgrade-1.6.0
|
2018-06-12 09:47:41 +02:00 |
|
Émilie Feral
|
52065c26ed
|
[calculation] When the output text overflowed the buffer, parsing the
text returns nullptr. Handle this case here
|
2018-06-12 09:43:25 +02:00 |
|
Émilie Feral
|
9407a86f5f
|
[calculation] Avoid getting sqrt(2)/2 = 0.999906 (wrong) instead of cos(pi/4) =
0.999906: do not re-simplify exact output
|
2018-06-08 17:23:11 +02:00 |
|
Émilie Feral
|
4b007ef32c
|
[poincare] Add a method on expression to know if the expression is equal
to its approximation
|
2018-06-07 13:46:19 +02:00 |
|
Émilie Feral
|
1108ef21db
|
[calculation] Do not memoize the expression layouts but the expressions
final height to avoid overflowing the heap. The expression layouts are
kept in the cell which are fewer then the number of calculations
|
2018-05-16 18:36:45 +02:00 |
|
Émilie Feral
|
c6ec8310b2
|
[apps] Do not display exact result if equals to undef
|
2018-05-15 11:33:28 +02:00 |
|
Émilie Feral
|
1d7bd2b70a
|
[calculation] Change method name: shouldDisplayApproximateOutput --> shouldOnlyDisplayApproximateOutput
|
2018-05-15 11:33:28 +02:00 |
|
Émilie Feral
|
b84972da6a
|
[apps] Calculation: Memoization of the equal sign type (approximate or
equal) in the model
|
2018-05-15 11:33:28 +02:00 |
|
Émilie Feral
|
98be622218
|
[apps] Calculation: display the exact output even if identical to input
|
2018-05-15 11:33:28 +02:00 |
|
Émilie Feral
|
6de71ae145
|
[poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
|
2018-03-21 15:57:19 +01:00 |
|
Émilie Feral
|
f2db9f2065
|
[apps] Calculation: exact and approximate output can be equal even if
the exact output is not a rational: 1/2+i = 0.5+i
|
2018-01-30 19:14:42 +01:00 |
|
Émilie Feral
|
ed59909531
|
[apps] Calculation: avoid 1/400000 = 0.000003
Re-serialise the calculation approximate output with the right number of
significant digits before comparing the parsed expression with the exact
one
|
2018-01-30 19:14:42 +01:00 |
|
Émilie Feral
|
9d6b2e3cad
|
[apps] Calculation: add a method to test if the exact output and the
approximate output are equal
|
2018-01-30 19:14:42 +01:00 |
|
Émilie Feral
|
36a3108309
|
[apps] Calculation: move implementation of ansExpression() from
Calculation to CalculationStore
|
2018-01-30 16:17:03 +01:00 |
|
Émilie Feral
|
59fdcde548
|
[poincare] Avoid returning partial simplification when the
simplification process has been interrupted
|
2018-01-30 16:17:03 +01:00 |
|
Émilie Feral
|
775432efdc
|
[poincare][apps] Replace Ans symbol when preprocessing the calculation
|
2018-01-16 15:17:16 +01:00 |
|
Émilie Feral
|
17fc7998a2
|
[apps] Calculation: Ans is exact only when the expression hold is exact
|
2018-01-16 15:17:16 +01:00 |
|
Émilie Feral
|
d6d31b4eb0
|
[apps] Calculation: clean unused methods
|
2018-01-16 15:17:16 +01:00 |
|
Émilie Feral
|
01d456299f
|
[apps] Add comment
Change-Id: I53bdeb08625a2699408f563b0b3ed6c45744d01d
|
2017-11-28 17:03:33 +01:00 |
|
Émilie Feral
|
0b0f765f6b
|
[apps] In calculation, return only approximation when input involves
symbols A-Z
Change-Id: Ibf50fb516b01850c5f93c5153f4d550d3e459028
|
2017-11-28 11:43:06 +01:00 |
|
Émilie Feral
|
fda382cc0d
|
[poincare] Change name: evaluate->approximate
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
|
2017-11-24 13:31:44 +01:00 |
|
Romain Goyet
|
52bdf4a41f
|
Merge branch 'cas_with_app_copy' into python_console
|
2017-11-21 18:44:38 +01:00 |
|
Émilie Feral
|
7c772d85b7
|
[apps] In calculation, do not display exact output if it is identical to input
Change-Id: I4b0733c7e3090bc2b04c68661bd34cf0b6da17f1
|
2017-11-21 17:37:25 +01:00 |
|
Émilie Feral
|
5fd8fda4b1
|
[calculation] Display exact and approximate results
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
|
2017-11-21 17:37:25 +01:00 |
|
Émilie Feral
|
6c51c584f2
|
[apps] Change Calculation to hold an exact and an approximate output
Change-Id: I1805839e17cd42b82f06ce0a320d20b49cd2a6cd
|
2017-11-21 17:37:25 +01:00 |
|
Romain Goyet
|
3d10d3e951
|
Use zero-initialization for character arrays
It makes some not-fully-compliant compilers happy
|
2017-10-19 17:31:40 +02:00 |
|
Jacob Young
|
17ac54cad5
|
Use cmath in c++ files.
|
2017-10-13 18:08:15 +02:00 |
|
Émilie Feral
|
35a9753609
|
[poincare][apps] Memory leaks
Change-Id: I2338760fb52bcf57997f7d82fd1f5cee68e95266
|
2017-08-25 11:20:49 +02:00 |
|
Émilie Feral
|
82e212e771
|
[poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
|
2017-08-16 09:55:29 +02:00 |
|
Émilie Feral
|
1964d61fdc
|
[libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
|
2017-08-16 09:55:29 +02:00 |
|