Émilie Feral
759aee2345
[poincare] Discard wrong optimization. NAryExpression children are
...
sorted but Power(ComplexCartesian) is after ComplexCartesian in the
simplification order. ComplexCartesian are not ensure to be last ones if
some children are not real.
2019-01-10 11:42:03 +01:00
Émilie Feral
df2f6e3b6e
[poincare] Fix tests with complex cas
2019-01-10 11:42:03 +01:00
Émilie Feral
2f8ede54f2
[poincare] The sign function was used to decide wether an expression was
...
of form -x. However, ln(0.3) has a negative sign but is not of form -x.
This commit fixes the misuse of ExpressionNode::Sign::negative.
For example, we do not turn sin(tan(9)) in -sin(-tan(9)) or
arcsin(sin(12)) in -arcsin(-sin(12) because tan(9)<0 and sin(12)<0
2019-01-10 11:42:03 +01:00
Émilie Feral
0e3d8514c5
[poincare] Fix tests: first operand of addition does not require
...
parentheses anymore
2018-11-23 12:04:09 +01:00
Émilie Feral
2bdce9dd82
[poincare] Power: approximation of power of positive real and real is
...
real. Fix 10^1000 = inf instead of undef
2018-11-23 12:04:09 +01:00
Léa Saviot
63e83c246b
[poincare] Undefined::Name() gives "undef"
2018-11-23 12:04:08 +01:00
Ruben Dashyan
603e672cf3
[poincare] Add parsing tests
2018-11-23 12:04:05 +01:00
Léa Saviot
cf86fd94ce
[poincare] Fix simplify_mix test
2018-11-23 12:03:59 +01:00
Lionel Debroux
1a8c6b6ae9
[poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
...
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
c8960db230
[poincare] Add tests on 0 and inf
2018-09-13 17:49:02 +02:00
Émilie Feral
2e29fccfe6
[poincare] Add simplification test
2018-09-12 15:56: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
d89b6ef85a
[poincare] Fix tests
2018-07-18 17:09:07 +02:00
Émilie Feral
652c232ce3
[poincare] Power: expand Newton binomes
2018-01-16 10:05:08 +01:00
Émilie Feral
40da35f17c
[poincare] Clean and sort tests
...
Change-Id: Ia6a66f5d6e568731ba4127c94a073f7fd62bc26a
2017-11-29 09:44:35 +01:00