Commit Graph

9755 Commits

Author SHA1 Message Date
Romain Goyet
5eb0e4f3ff [simulator/android] Use NDK version 16 when available 2019-11-12 16:00:45 +01:00
Émilie Feral
0736a3f55a [poincare] In Polar complex format, avoid displaying real expression as
sqrt of square when possible
2019-11-05 16:46:21 +01:00
Émilie Feral
e8046ddb9a [poincare] Trigonometry: fix shallowReduceDirectFunction 2019-11-05 16:46:21 +01:00
Émilie Feral
a5c4734c4c [poincare] Complex: add comments 2019-11-05 16:46:21 +01:00
Émilie Feral
710d5259fe [poincare] NAryExpressionNode: clean sortChildrenInPlace (the loop was
in descending order without any explanation)
2019-11-05 16:46:21 +01:00
Romain Goyet
ce2fadaf25 [ci] Use fastcomp as an emscripten compiler 2019-11-05 13:15:11 +01:00
Adrien Bertrand
2ec4bc29e0 [apps] [code] Fix nullptr deref (fix #1176)
When scrolling up in the python shell history, `selectedCell` could be NULL.
2019-11-04 09:57:45 +01:00
Émilie Feral
4b9e42d522 [poincare] Trigonometry::characteristicXRange use double precision
derivative (to avoid computational error as diff(sin(x+46^2,x,1)))
2019-10-18 14:32:57 +02:00
Émilie Feral
6befc1e146 [apps/graph] interestingXHalfRange: ignore infinite characteristic x
range
2019-10-18 14:32:57 +02:00
Émilie Feral
f6cfcab4e5 [apps/shared] CurveView: add an assertion on the number of labels to
avoid reading out of bound memory
2019-10-18 14:32:57 +02:00
Émilie Feral
2ff0b789f9 [.github] ci-workflows: remove N0100 bench targets 2019-10-17 11:53:48 +02:00
Émilie Feral
92a623378d [apps/settings] Fix epsilon.onboarding.update build 2019-10-17 11:53:48 +02:00
Émilie Feral
ff2ed52b21 [.github] Add targets to the ci-workflows 2019-10-17 11:53:48 +02:00
Émilie Feral
8b0d8aa935 [ion] Fix bench build 2019-10-17 11:53:48 +02:00
Émilie Feral
7d48e84ac3 [ion] Fix flasher build 2019-10-17 11:53:48 +02:00
Romain Goyet
585760bd7b [ion] Update the Java SDL code 2019-10-17 11:52:19 +02:00
Romain Goyet
a34ecd2769 [poincare] Use std::move when needed
When returning a subclass of an Expression as an Expression, make sure
to use std::move, otherwise the compiler cannot proceeed to copy
ellision.
2019-10-16 10:01:14 +02:00
Romain Goyet
fde1a87998 [ion/device/n0100] Remove an LTO warning 2019-10-16 10:01:00 +02:00
Romain Goyet
d4e11b206a [build] mcpu is stronger than march 2019-10-16 10:01:00 +02:00
Romain Goyet
e857e7a297 [ion] Avoid a cast from NULL to \0 2019-10-16 10:01:00 +02:00
Romain Goyet
758c217120 [ion] ion_main takes const arguments 2019-10-16 10:01:00 +02:00
Léa Saviot
577e7db8dd [python/port] Use msleep (not millis) in micropython_port_interruptible_msleep 2019-10-15 16:06:34 +02:00
Léa Saviot
069319a7ae [ion/device/timing] Fix SysTick when changing HCLK
There will still be some drift due to the systick counter reset
2019-10-15 16:06:34 +02:00
Émilie Feral
f6cedc0a44 [docs] Remove extra </p> 2019-10-15 09:45:21 +02:00
Émilie Feral
587b5e7a93 [build] Fix epsilon.onboarding build 2019-10-09 16:21:54 +02:00
Romain Goyet
5248fd01e8 [ion/simulator] Update libsdl 2019-10-09 16:21:40 +02:00
Léa Saviot
475c2daffc [poincare/derivative] Fix templateApproximate
Various fixes:
- Stop the iterative riddersApproximation if the error starts increasing
- h should be superior to 10 epsilon
- if the result is close to 0, be less restrictive on the error/result
ratio
2019-10-07 15:15:18 +02:00
Émilie Feral
abfda7dbce [apps/shared] ValuesController: fix viewWillAppear, reset memoization
before reloading data
2019-10-07 15:02:34 +02:00
Émilie Feral
5928a6fd80 [apps/shared] ValuesController: reload memoization when deleting rows 2019-10-07 15:02:34 +02:00
Émilie Feral
e87a096689 [apps/shared] didChangeCell reload only cells corresponding to the
modified abscissa
2019-10-07 15:02:34 +02:00
Émilie Feral
cd7071277b [apps/shared] Use memmove instead of shifting the table cell by cell 2019-10-07 15:02:34 +02:00
Émilie Feral
a81f76332c [apps/shared] ValuesController: when reloading an entire row, reload
only visible cells
2019-10-07 15:02:34 +02:00
Émilie Feral
b40c89cae8 [apps/graph][graph/sequence][graph/shared] Change constant names: add
"displayable" when adequate
2019-10-07 15:02:34 +02:00
Émilie Feral
a19edb4460 [apps/graph][apps/sequence] Add comments 2019-10-07 15:02:34 +02:00
Émilie Feral
d4f6f5a477 [apps/graph] ValuesController: Decrease the number memoized cells by
making the cell wider
2019-10-07 15:02:34 +02:00
Émilie Feral
2efbec59a1 [apps/shared] Avoid extra calls to numberOfMemoizedColumn 2019-10-07 15:02:34 +02:00
Émilie Feral
f995fb0fc2 [apps/shared] ValuesController: reload memoized cell when abscissa is
edited
2019-10-07 15:02:34 +02:00
Émilie Feral
60ad096956 [apps/graph][apps/sequence] ValuesController memoization buffer does not
require the same size for Sequence and Graph
2019-10-07 15:02:34 +02:00
Émilie Feral
dc3c67a2d2 [apps/shared][apps/graph][apps/sequence] Clean ValuesController 2019-10-07 15:02:34 +02:00
Émilie Feral
164572ca1e [apps/shared][apps/sequence][apps/graph] Speed-up values table scrolling
by memoizing values cell buffers
2019-10-07 15:02:34 +02:00
Émilie Feral
5df8c6de57 [apps/graph] ValuesController::numberOfColumnsForPlotType: add a
parameter in order to take into account the abscissa column or not
2019-10-07 15:02:34 +02:00
Émilie Feral
770f0971d7 [escher] TableView: cellAtLocation returns nullptr if the cell is not
currently displayed
2019-10-07 14:36:03 +02:00
Léa Saviot
19921ec125 [apps/regression/graph] Fix roundCursorView drawing glitch
Scenario:
f(x)=cos(x)
CalculateZeroes -> drawing glitch
Right, Back -> drawing glitch
2019-10-04 09:38:23 +02:00
Romain Goyet
0b5374e4c2 Revert "[ci] Don't rebuild on push"
This reverts commit 51d1c7b389.
2019-10-04 07:49:44 +02:00
Émilie Feral
98f2b8a11f [poincare][apps/shared] Use IEEE754::exponentInBase10 instead of
std::floor(std::log10()) to avoid precision issues when computing
the number of digits of a number
2019-10-03 10:31:25 +02:00
Romain Goyet
1845e58d0f [poincare] Avoid rounding error 2019-10-03 09:40:33 +02:00
Émilie Feral
d9af0300d4 [poincare] Decimal: change order definition on Decimal expression
Now, Decimal node "1.000E3" is not equal to Decimal node "1E3" node anymore.
This prevents from using double comparison (which is sometimes wrong due to
double precision) to implement decimal comparison.
2019-10-02 18:20:57 +02:00
Romain Goyet
2f12205dd7 [ion/simulator/web] Minimize the SDL subsystems 2019-10-02 15:02:55 +02:00
Émilie Feral
dc20371a45 [poincare] PrintInt: std::log10 can introduce precision error. Use
IEEE754<double>::exponentBase10 instead
2019-10-02 15:02:30 +02:00
Émilie Feral
b756924f46 [poincare] Tests: fix test to comply with windows libm precision 2019-10-02 15:02:30 +02:00