Commit Graph

14 Commits

Author SHA1 Message Date
Gabriel Ozouf
c7b758f536 [poincare/expression] Fix solutions to e^x=0
Because of the limitations of the floating-point representation, e^x is
null for x <= 710, causing the nextRoot functions to find roots for it.
To prevent this, we looking for places where a function changes sign, we
actually require the function to take two non-null values of different
signs.
2020-12-14 10:20:09 +01:00
Ruben Dashyan
d727fb4cf8 [poincare/test/function_solver] Run solver tests with negative steps 2020-02-28 18:08:01 +01:00
Ruben Dashyan
0a6af26162 [poincare/test/function_solver] Factor helper functions 2020-02-28 18:08:01 +01:00
Ruben Dashyan
29b0841a21 [poincare/test/function_solver] Change term: extremum -> point of interest 2020-02-28 18:08:01 +01:00
Ruben Dashyan
6d48ef5eb0 [poincare/test/function_solver] Simplify helper function's
Remove currentStart and simply use start instead
2020-02-28 18:08:01 +01:00
Ruben Dashyan
a62efecb17 [poincare/test/function_solver] Remove helper functions' default parameter values 2020-02-28 18:08:01 +01:00
Ruben Dashyan
d6b2be1b05 [poincare/test/function_solver] Build Expressions by parsing text 2020-02-28 18:08:01 +01:00
Ruben Dashyan
2d22887eaf [poincare/test/function_solver] Factor Poincare::Context usage 2020-02-28 18:08:01 +01:00
Léa Saviot
bc2eba1726 [tests] Fix tests (use new methods) 2019-09-03 10:10:23 +02:00
Léa Saviot
7ea7ecd3c2 [poincare/coordinate2D] Rename member values to x and y 2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06 [poincare/Coordinate2D] Template for double or float 2019-08-29 11:07:22 +02:00
Léa Saviot
1e483d60ce [poincare] Coordinate2D out of the Expression class 2019-08-13 18:00:15 +02:00
Léa Saviot
8cc6d785d8 [poincare/test] Funciton solver tests 2019-08-08 17:22:05 +02:00
Émilie Feral
cedcab21ec [poincare] Tidy tests and add TODO for tests that need to be completed 2019-08-08 17:22:04 +02:00