Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
d0e49ba1d0 [poincare] Decimal comparison: 1.000E10 == 1E10 2018-09-26 16:18:56 +02:00
Émilie Feral
0af8f273fc [poincare] Integer is not an Expression anymore 2018-09-26 16:18:56 +02:00
Émilie Feral
5096f8bf53 [poincare] Decimal: Fix zero at the end of the mantissa
We want to keep extra 0 in mantissa if entered by the user but get rid of them
if they are due to rounding or if the Decimal was built from a float/double.
2018-09-26 16:18:56 +02:00
Émilie Feral
b7649bab8a [poincare] deepReduce is authorized on non-matrix expressions only 2018-09-26 16:12:31 +02:00
Léa Saviot
7da49646ce [poincare] Make Complex<T> constructors explicit. 2018-09-26 14:38:34 +02:00
Émilie Feral
9d471552c7 [poincare] Tests: fix expression_debug to be able to print_expression 2018-09-26 09:37:39 +02:00
Léa Saviot
b8408d2575 [poincare] Remove SerializationHelperInterface
All TreeNodes are now serializable. This removes a pointer to virtual
table from the nodes (for instance, an ExpressionNode was 24o, now 16o).
It also remove 4K of code in the binary.
2018-09-25 17:55:41 +02:00
Émilie Feral
8604e73e97 [calculation] No Expression memoization in Calculation: delay the
overflow of the TreePool
2018-09-25 16:55:50 +02:00
Émilie Feral
06776185f0 [poincare] Add test on Number parsing 2018-09-25 16:52:38 +02:00
Émilie Feral
a8a26fc055 [poincare] Decimal: mantissa has no extra 0 at the end 2018-09-25 16:52:38 +02:00
Émilie Feral
32276680a8 [poincare] Number: fix ParseDigits to correctly parse "1." 2018-09-25 16:52:38 +02:00
Émilie Feral
837bbaeec8 [poincare] Decimal: m_exponent of 0 is always 0 2018-09-25 16:52:38 +02:00
Émilie Feral
2f259efe86 [poincare] Clean useless enum entry in Preferences 2018-09-25 15:13:31 +02:00
Émilie Feral
b617ea36d1 [settings] EditionMode: display the natural mode first 2018-09-25 15:13:31 +02:00
Émilie Feral
7b6953d59f [settings] Fix PreferencesController example layouts 2018-09-25 15:13:31 +02:00
Émilie Feral
dd3bbbc10c [settings] AngleUnit sub menu: add layout examples 2018-09-25 15:13:31 +02:00
Émilie Feral
eebb405cd5 [kandinsky] Add the degree symbol to Charset 2018-09-25 15:13:31 +02:00
Émilie Feral
afeb987efa [settings] In DisplayMode sub menu, separate the result format choice
from the number of significants digits
2018-09-25 15:13:31 +02:00
Émilie Feral
1b9bfe6255 [settings] Split SubController in several controllers: about_controller,
display_mode_controller, exam_mode_controller, preferences_controller
2018-09-25 15:13:31 +02:00
Émilie Feral
1fb84e31e1 [settings] Change wording of Result Formal & Complex Format: Auto-->Decimal, Cartesian & Polar 2018-09-25 15:13:31 +02:00
Léa Saviot
e953a02f97 [poincare] Handle overflow in Integer 2018-09-25 13:21:37 +02:00
Léa Saviot
99b449f7fb [poincare] Integer::ucmp special case for Overflows 2018-09-25 10:53:22 +02:00
Léa Saviot
8105a000ab [poincare] Add Upper case to Poincare static Init function 2018-09-25 10:42:47 +02:00
Léa Saviot
5b5211be24 [poincare] Tidy Integer buffer on Poincare exception 2018-09-25 10:42:47 +02:00
vardai
cfcd62d2e3 Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
f0cb0d6099 Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
7f22f7079f Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
fc18915f89 Corrected German translation with corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
fab726e514 Corrected German translation without Umlaut 2018-09-25 10:01:17 +02:00
vardai
4892b87dde Corrected German translation 2018-09-25 10:01:17 +02:00
Émilie Feral
68157e7c70 [poincare] getLinearCoefficients: the equation from which we look for
coefficients can be Undefined at some point (because it is the reduction
of 0*inf for instance)
2018-09-24 18:24:17 +02:00
Émilie Feral
2bf62f2304 [poincare] Fix Decimal(double) constructor 2018-09-24 18:23:24 +02:00
Émilie Feral
1bfbc7a5ef [escher] Fix buffer overflow in TextField 2018-09-24 18:22:20 +02:00
Léa Saviot
2fa6d4eb83 [poincare] When num or den of a division is Overflow, return overflow 2018-09-24 14:33:04 +02:00
Léa Saviot
c12b86cdd4 [poincare] Check if Expression is Rational before casting it 2018-09-24 11:45:49 +02:00
Émilie Feral
4e8cd02d3f [calculation] Fix memoization: hold the calculation and not its address
which is likely to have changed
2018-09-21 18:16:21 +02:00
Émilie Feral
0701381897 [ion] Clean warning due to unused variable 2018-09-21 18:02:31 +02:00
Émilie Feral
eadc493f48 [ion] Storage: fix regex describing compliant names 2018-09-21 17:13:12 +02:00
Émilie Feral
0bcf3ec65c [ion] Storage: increase size and indicates it in the header 2018-09-21 17:04:42 +02:00
Léa Saviot
83042408b4 [poincare] Add missing test file 2018-09-21 16:26:28 +02:00
Léa Saviot
5ee4d1dd95 [poincare] Add poincare/test/tree/helpers.o in Makefile 2018-09-21 16:14:12 +02:00
Léa Saviot
59c8c801c5 [poincare] Clean compilation warnings in poincare/test 2018-09-21 16:00:21 +02:00
Léa Saviot
d93ed2a1ce [poincare/tests] Use quiz_assert instead of assert in tests 2018-09-21 15:06:13 +02:00
Léa Saviot
732a8713e4 [poincare] Remove included header 2018-09-21 15:03:10 +02:00
Léa Saviot
2d914c7771 [poincare] Fix type conversion 2018-09-21 14:55:17 +02:00
Léa Saviot
c16d9e7ffe [apps/code] Load Python in the viewWillAppear of the controllers 2018-09-21 12:26:57 +02:00
Léa Saviot
2661032993 [apps/code] Fix Python loading when going in the VarBoxController
The Var box controller deinited python on exit, and the console
controller did not reload python + it made the console controller lose
all its context, such as imported scripts
2018-09-21 11:55:12 +02:00
Émilie Feral
47e78a79fa [poincare] Special cases of Logarithm: log(0,0), log(1,0), log(0,x),
log(x,0) ...
2018-09-21 11:07:54 +02:00
Léa Saviot
36388c9d4d [sequence] Inline some getters in sSequence::App 2018-09-21 10:46:46 +02:00
Léa Saviot
9d23fe3e22 [sequence] Do not set YAuto when resetting App::Sequence::Snapshot 2018-09-21 10:46:41 +02:00