Commit Graph

7312 Commits

Author SHA1 Message Date
Léa Saviot
50667fde49 [poincare] Fix AllocationFailure log ('[' not accepted) 2018-08-22 10:45:33 +02:00
Léa Saviot
9049b81d2c [poincare] Add some comments 2018-08-22 10:43:28 +02:00
Léa Saviot
66e768b452 [poincare] Enable more power tets 2018-08-22 10:42:53 +02:00
Léa Saviot
27256abd53 [poincare] Fix Power::denominator 2018-08-22 09:56:05 +02:00
Léa Saviot
795073124d [poincare] Fix typo 2018-08-21 17:59:23 +02:00
Léa Saviot
8d31969108 [poincare] Add Roots parsing 2018-08-21 17:59:07 +02:00
Léa Saviot
2b647756f1 [poincare] Fix typo 2018-08-21 16:17:25 +02:00
Léa Saviot
b829286caa [poincare] NthRoot 2018-08-21 16:11:06 +02:00
Léa Saviot
fb912d0123 [poincare] Add test 2018-08-21 15:56:52 +02:00
Léa Saviot
473b57ac0b [poincare] Fix typo 2018-08-21 15:56:28 +02:00
Léa Saviot
9418932578 [poincare] Fix Rational::IntegerPower for negative integer 2018-08-21 15:55:09 +02:00
Émilie Feral
f0c04df41a [poincare] Add tests on Multiplication 2018-08-21 15:28:15 +02:00
Émilie Feral
3e4b655cf9 [poincare] Fix Multiplication::factorizeExponent 2018-08-21 15:27:59 +02:00
Émilie Feral
5ad42a19e5 [poincare] Fix Multiplication 2018-08-21 15:17:57 +02:00
Léa Saviot
c8a498c996 [poincare] Unncomment more tests 2018-08-21 15:05:46 +02:00
Léa Saviot
773f2d39d0 [poincare] Reorder the Makefile 2018-08-21 14:40:29 +02:00
Léa Saviot
7ca084ca91 [poincare] SquareRoot 2018-08-21 14:37:38 +02:00
Léa Saviot
5cff9237db [poincare] Fix Power::simplifyRationalRationalPower 2018-08-21 14:18:28 +02:00
Léa Saviot
d013e969ca [poincare] Fix Tree logging typo 2018-08-21 14:18:28 +02:00
Léa Saviot
3c1de1bbc6 [poincare] Add some power tests 2018-08-21 14:18:28 +02:00
Émilie Feral
d4f6629e8c [poincare] Correct didAddChildAtIndex and addChildAtIndexInPlace for
Matrices
2018-08-21 12:05:09 +02:00
Léa Saviot
fe0e81312b [poincare] Complex should not be a std::complex, ComplexNode is 2018-08-21 11:56:51 +02:00
Émilie Feral
d1f28d5bc2 [poincare] Implement missing simplification methods of Multiplication 2018-08-21 11:22:08 +02:00
Émilie Feral
69161a9fff [poincare] getPolynomialCoefficients is implemented on Addition instead
of on AdditionNode to avoid relying on likely-to-be-corrupted node
2018-08-21 11:22:08 +02:00
Léa Saviot
292731ef1c [poincare] Add some matrices tests 2018-08-21 11:08:50 +02:00
Léa Saviot
8e95bd92d6 [poincare] Add Addition matrices tests 2018-08-21 10:42:47 +02:00
Léa Saviot
1b12e72149 [poincare] Parse matrices 2018-08-21 10:42:47 +02:00
Léa Saviot
3fcca45498 [poincare] Complete Matrix class to prepare for parsing 2018-08-21 10:42:47 +02:00
Léa Saviot
98041b1758 [poincare/test] Fix pool size assertions 2018-08-21 10:42:47 +02:00
Léa Saviot
a8d6c03111 [poincare] Implement methods in MatrixComplex 2018-08-21 10:42:47 +02:00
Léa Saviot
cfb82ddcba [poincare] Remove unneeded tree copy 2018-08-21 10:42:47 +02:00
Léa Saviot
23e009efb5 [poincare] Override more methods in AllocationFailureExpressionNode 2018-08-21 10:42:47 +02:00
Romain Goyet
5f1da3b824 [ion/device/bench] Count display memory errors 2018-08-21 09:34:13 +02:00
Émilie Feral
11e80cc0a6 [poincare] Number: Use static_cast on TreeByValue 2018-08-20 18:09:47 +02:00
Émilie Feral
b86e11f82d [poincare] Implement Number::NaturalOrder 2018-08-20 18:09:47 +02:00
Émilie Feral
5cc81ab7b7 [poincare] Number operations are by Reference to avoid useless copy 2018-08-20 18:09:47 +02:00
Léa Saviot
1509fe8bda [poincare/test] Fix some pool size assertions 2018-08-20 17:06:08 +02:00
Léa Saviot
ed3018dc74 [poincare/test] Add addition tests 2018-08-20 17:05:48 +02:00
Léa Saviot
aa7e0c2ccc [poincare] Fix TreeByReference::mergeChildrenAtIndexInPlace 2018-08-20 17:05:07 +02:00
Léa Saviot
b3f6cf459c [poincare] Clean and fix Reduce codes 2018-08-20 17:04:24 +02:00
Léa Saviot
199a4386ee [poincare] Handle allocation failures in NaturalIntegerAbstract::udiv 2018-08-20 17:03:43 +02:00
Léa Saviot
73ae2a8bd6 [poincare] Fix typo 2018-08-20 17:02:54 +02:00
Léa Saviot
cd8b460001 [poincare] Escape replace/removeChild when tree is alloc fail 2018-08-20 17:01:44 +02:00
Émilie Feral
35cbdeabf5 [poincare] Rational: get numerator and denominator with 3 getters:
signedIntegerNumerator, unsignedIntegerNumerator, integerDenominator
which all return Integer
2018-08-20 15:43:12 +02:00
Léa Saviot
68d3c2f8b8 [poincare] Fix SerializationHelper::Infix typo 2018-08-20 13:56:37 +02:00
Léa Saviot
ae9be5333f [poincare] Remove logs in tests 2018-08-20 11:38:05 +02:00
Léa Saviot
7d9c6618eb [poincare] Override setSign on all Numbers 2018-08-20 11:26:07 +02:00
Léa Saviot
60cd8a2fe4 [poincare] Clean Power and be cautious we Rationals that can be numbers 2018-08-20 11:03:31 +02:00
Léa Saviot
686fae065b [poincare] Fix casts in Addition 2018-08-17 17:21:27 +02:00
Léa Saviot
d3d969021a [poincare] Implement class Float 2018-08-17 17:18:26 +02:00