Commit Graph

5816 Commits

Author SHA1 Message Date
Léa Saviot
e9be5c6dbf [poincare] Init Poincare by creating a shared TreePool 2018-08-30 10:53:06 +02:00
Émilie Feral
4caf17258d [poincare] Delete additional #endif 2018-08-30 10:31:52 +02:00
Léa Saviot
2d9fcc0a89 [poincare] Inline TreeNode::isStatic 2018-08-30 10:28:19 +02:00
Léa Saviot
ddbabd0e3c [poincare] Do not use assert with PLATFORM=blackbox and DEBUG=0 2018-08-30 10:24:22 +02:00
Léa Saviot
b7695af9ac [poincare] Simplify TreeNode::retain 2018-08-30 10:22:37 +02:00
Léa Saviot
2872815ee7 [poincare] Inline TreePool::node(identifier) 2018-08-30 10:20:20 +02:00
Léa Saviot
75f575c7d9 [poincare] Inline TreeByReference::~TreeByReference 2018-08-30 10:18:30 +02:00
Léa Saviot
4eb1df81f6 [rt0] Enable SUPPORT_CPP_GLOBAL_CONSTRUCTORS 2018-08-30 10:17:46 +02:00
Léa Saviot
03fd17b97d [poincare] TreeByReference::node is not virtual anymore 2018-08-30 10:16:21 +02:00
Émilie Feral
969966f24e [poincare] Delete useless header 2018-08-29 17:27:22 +02:00
Émilie Feral
34a2fa3221 [poincare] Clean poincare header 2018-08-29 17:27:05 +02:00
Émilie Feral
99c0d25e7d [poincare] Add tests: nth_root_layout, simplify_mix, subtraction,
symbol
2018-08-29 17:06:35 +02:00
Émilie Feral
6f97f5babc [poincare] Fix tests convert_expression_to_text 2018-08-29 16:52:31 +02:00
Émilie Feral
c720bb7c36 [poincare] Makefile: add a compile FLAG POINCARE_TREE_LOG 2018-08-29 16:23:40 +02:00
Émilie Feral
a9ea1900d9 [poincare] Fix tests: complex_to_expression 2018-08-29 16:19:24 +02:00
Émilie Feral
b922041fbe [poincare] Fix Infinity::approximate 2018-08-29 16:19:08 +02:00
Émilie Feral
c9aa35fe82 [poincare] Fix binomial_coefficient_layout test 2018-08-29 15:41:02 +02:00
Émilie Feral
ac596c9a71 [poincare] Use reference in replaceSymbolWithExpression 2018-08-29 15:37:49 +02:00
Émilie Feral
efcccb282a [poincare] Fix Arithmetic tests 2018-08-29 15:22:37 +02:00
Émilie Feral
23e67c2264 [poincare] When operating on Rational, check if we overflow 2018-08-29 15:10:47 +02:00
Émilie Feral
5870804250 [poincare] When operating on Integers, check if the result might have
overflowed
2018-08-29 15:10:47 +02:00
Léa Saviot
7ff02375ba [poincare] Remove FLAG in code 2018-08-29 13:29:56 +02:00
Léa Saviot
48f71f0304 [poincare] Remove Matrix from parser 2018-08-29 13:24:10 +02:00
Émilie Feral
5fcd6e6718 [poincare] Work with references when possible 2018-08-29 11:53:36 +02:00
Émilie Feral
349337d00d [poincare] Trigonometry: delete useless clone 2018-08-29 11:53:36 +02:00
Émilie Feral
10f84ece32 [poincare] Expression: make clone() const 2018-08-29 11:53:36 +02:00
Léa Saviot
d32a846f7b [poincare] Add missing template declaration 2018-08-29 11:46:20 +02:00
Léa Saviot
ebc4f8c0ce [poincare] Remove assert(false) 2018-08-29 09:39:46 +02:00
Émilie Feral
03431f1b9b [poincare] Addition: move methods from Node to Addition 2018-08-29 09:37:32 +02:00
Émilie Feral
ff1a8dc4d1 [poincare] Fix PermuteCoefficient 2018-08-28 16:50:19 +02:00
Émilie Feral
13076dfd02 [poincare] Fix PredictionInterval 2018-08-28 16:50:19 +02:00
Léa Saviot
6452d496b0 [poincarE] Fix typo in LayoutReference 2018-08-28 16:24:42 +02:00
Léa Saviot
0ccc5d8fda [poincarE] Use ParenthesisLayouts in LayoutCursor 2018-08-28 16:24:17 +02:00
Léa Saviot
1c55431041 [poincare] Fix typo in BracketLayoutNode 2018-08-28 16:23:52 +02:00
Léa Saviot
c9242f730b [poincare] Fix some Ghost Layout assertions and isUninitialized problems 2018-08-28 16:22:59 +02:00
Léa Saviot
34583ecf4e [poincare] Remove nullptr layout tests, check instead if isUninitialized 2018-08-28 16:22:04 +02:00
Léa Saviot
a119c255cb [poincare] Add simple test on layout creation 2018-08-28 16:16:11 +02:00
Émilie Feral
2273951fcc [poincare] Fix Randint 2018-08-28 16:14:21 +02:00
Émilie Feral
340ee6695c [poincare] Fix Random 2018-08-28 16:04:23 +02:00
Émilie Feral
2e8cfbd82f [poincare] Fix Round 2018-08-28 15:46:43 +02:00
Émilie Feral
a4d57fd0bb [poincare] Fix RealPart 2018-08-28 15:29:31 +02:00
Émilie Feral
59121fba0b [poincare] Fix Store 2018-08-28 15:16:21 +02:00
Émilie Feral
6fe0864f39 [poincare] Parser: use namespace Poincare 2018-08-28 14:58:02 +02:00
Émilie Feral
3262c885aa [poincare] Fix Sum, Product, Sequence 2018-08-28 14:10:40 +02:00
Léa Saviot
abd18a508c [poincare] MatrixTrace, Transpose, Dimension and Inverse 2018-08-28 12:06:34 +02:00
Léa Saviot
170a0d78b6 [poincare] Fix Power and Multiplication 2018-08-28 11:46:54 +02:00
Émilie Feral
d980bb3da9 [poincare] Change privateApproximate-->approximate 2018-08-28 10:59:49 +02:00
Émilie Feral
d7ef74c1d2 [shared] Change forgotten !isDefined --> isUninitialized 2018-08-28 10:52:18 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
d3296be915 [quiz] Make a special assert for tests (which really assert even if DEBUG=0) 2018-08-28 10:39:43 +02:00