Commit Graph

49 Commits

Author SHA1 Message Date
Émilie Feral
3402721069 [poincare] Test: Add a parameter ReductionTarget (User or System) in
Helper::assert_parsed_expression_evaluates_to and
Helper::assert_parsed_expression_simplify_to
2019-02-14 10:47:05 +01:00
Émilie Feral
95248edde0 [poincare] Fix tests with new beautify order 2019-01-10 11:42:04 +01:00
Émilie Feral
a02fd614ab [poincare] Trigonometry: add rule arctan(1/x) = sign(x)*pi/2-arctan(x) 2019-01-10 11:42:03 +01:00
Émilie Feral
ee0d158bd9 [poincare] Add rules on cos(arcsin), cos(arctan), sin(arccos),
sin(arctan), tan(arccos), tan(arcsin)
2019-01-10 11:42:03 +01:00
Émilie Feral
bc1a1c25d2 [poincare] Fix precision of approximation of arc trigonomtry when the
result is in real numbers
2018-12-17 09:47:25 +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
Léa Saviot
63e83c246b [poincare] Undefined::Name() gives "undef" 2018-11-23 12:04:08 +01:00
Émilie Feral
330b93a3ae [poincare] Tests: FIXME: some tests break travis libm implementation 2018-10-29 09:49:49 +01:00
Émilie Feral
fc17d4a8e7 [poincare] Test: libm prevision depends on implementation. Fix tests to
pass tests on Travis and Appveyor servers
2018-10-29 09:49:49 +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
06999e8e2e [poincare] Fix trigo test 2018-10-17 11:22:37 +02:00
Émilie Feral
3b42ddf546 [poincare] Fix Trigonometry::RoundToMeaningfulDigits: takes the argument
into account to avoid sin(1E-15) = 0
2018-10-05 14:56:27 +02:00
Émilie Feral
6b95ea42c7 [poincare] Trigo: Add commented tests 2018-09-20 15:55:22 +02:00
Émilie Feral
ac9b889a67 [poincare] PrintFloat: fix convertFloatToText to display the correct
number of significant digits (instead of the number of decimal digits)
2018-09-19 16:12:12 +02:00
Léa Saviot
a7f6669025 [poincare] Add some tests on acos (presicision reduced to pass the test) 2018-09-12 17:31:06 +02:00
Émilie Feral
b55100812d [poincare] Add tests on Trigo 2018-09-12 16:08:16 +02:00
Léa Saviot
aaa13079a3 [poincare] Enable more trigo tests 2018-08-24 17:53:46 +02:00
Léa Saviot
e4653f8193 [poincare] cosh, sinh, tanh 2018-08-24 17:51:39 +02:00
Léa Saviot
8044922982 [poincare] Hyperbolic trigonometric functions 2018-08-24 17:24:53 +02:00
Léa Saviot
3c48aff750 [poincare] ArcTangent 2018-08-24 16:50:24 +02:00
Léa Saviot
ccf63069d0 [poincare] Enable NaperianLogarithm beautification in Logarithm 2018-08-24 16:29:06 +02:00
Léa Saviot
a9127e9f8c [poincare] ArcSine 2018-08-24 16:21:50 +02:00
Léa Saviot
53a2f3705e [poincare] ArcCosine 2018-08-24 16:21:24 +02:00
Léa Saviot
97a6257c6c [poincare] Tangent 2018-08-23 15:42:50 +02:00
Léa Saviot
67cf8a1a46 [poincare] Sine 2018-08-23 14:06:31 +02:00
Léa Saviot
462a3816a8 [poincare] Cosine 2018-08-23 13:51:51 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
6d16bb62a8 [poincare] Wrap the std::complex methods in Poincare to choose the right branch cut
and avoid residual real or imaginary pars due to lost precision
2018-07-18 17:09:07 +02:00
Émilie Feral
66e87361e4 [poincare] Add comments on branch cuts in complex plan (for acos, asin,
atan, acosh, asinh, atanh, log) and add tests
2018-07-18 17:09:07 +02:00
Émilie Feral
b9cc0c8d2b [poincare] Add tests on logarithm complex, trigo complex 2018-07-18 17:09:07 +02:00
Émilie Feral
d89b6ef85a [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Émilie Feral
40da35f17c [poincare] Clean and sort tests
Change-Id: Ia6a66f5d6e568731ba4127c94a073f7fd62bc26a
2017-11-29 09:44:35 +01:00
Émilie Feral
be1f2be60f [poincare] Repair tests
Change-Id: Ie14d3c1afc0c8e66d4b0eddb2919958391c5c959
2017-09-26 16:38:22 +02:00
Émilie Feral
8aa0e40d46 [poincare] First version simplify
Change-Id: I7ff4396f42bb980df2780dfc59bfb8b22205abc8
2017-09-21 13:56:38 +02:00
Émilie Feral
d3a2109b5f [poincare] Change binary_operation -> n_ary_operation and add an order
on expressions

Change-Id: Ia881728ef965eb1f7ff9449d14253ea347fdeed7
2017-09-21 11:18:03 +02:00
Jacob Young
ebeabd677e Allow tests to print progress. 2017-09-01 04:07:34 -04:00
Jacob Young
198c26f99d Fix grammar. 2017-08-31 18:09:00 -04:00
Jacob Young
37700f9e11 Default expression tests to scalar. 2017-08-31 18:04:56 -04:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00
Émilie Feral
e1a635a9a8 [poincare] Clean trigo tests
Change-Id: I477945831ae39ad27ad69bf2e9208d8954052748
2017-07-10 10:41:12 +02:00
Émilie Feral
670242b97d [poincare] Fix bug in tests
Change-Id: I559d42bec3c9fd9107271d2128655471aa172688
2017-05-03 14:22:52 +02:00
Émilie Feral
b45612b739 [poincare] Add tests
Change-Id: I54b53a280dc5b31d2fa90835a792d3d1b3df64e1
2017-03-16 15:12:10 +01:00
Émilie Feral
e5e9f7cc41 [poincare][apps] Make preferences a const object accessible from
anywhere (poincare and apps)

Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00
Émilie Feral
1f751589b9 [Kandinsky] In font, for the i complex, use the i cyrillic instead of
iota

Change-Id: I746e1060f1437fe090a2dee533c3bbec24bda7d4
2017-02-17 16:35:06 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
1d5d127cd8 [poincare] Add test on complex operations
Change-Id: I474e4a14273ac89775e0f7747222445cabbe2df8
2017-02-13 17:15:05 +01:00
Felix Raimundo
144ec9d556 Use proper english name for sine.
Change-Id: I44c1bed203b126e0bd36be1efe00b7f5df9cff06
2016-03-24 18:40:41 +01:00
Felix Raimundo
46ffb55ec3 Add parsing test for trigo functions.
Change-Id: Ibcf1dd1759cd106521023f0c2adadc1f993f3eaa
2016-03-24 18:30:44 +01:00