Commit Graph

11908 Commits

Author SHA1 Message Date
Joachim LF
53743ab531 Revert percent 2020-04-11 19:06:40 +02:00
Romain Goyet
807dd73e7b [poincare] Use a Tuple instead of an ArrayBuilder for expression
The Tuple is simply an initializer_list along with a convenience method
to cast between a list of TreeHandle and a list of Expression
2020-04-10 13:35:14 -04:00
Romain Goyet
1bd6105a0a [libaxx] Add initializer_list 2020-04-10 13:35:14 -04:00
Émilie Feral
e1b9703a2e [.github] workflows: don't launch the windows executable from msys2 2020-04-10 13:34:00 -04:00
Émilie Feral
ec5587904f [poincare] Unit: double comparison should be done with care. On windows
platform pow(10.0, -6.0) leads to small loss of precision and eventually
to beautify(_Mg) --> _t
2020-04-10 13:34:00 -04:00
Émilie Feral
8c844a772b [poincare] Fix tests to be passed on windows platform (approximation
issues)
2020-04-10 13:34:00 -04:00
Émilie Feral
499d0a8292 [.github/workflows] Crash of the tests on windows should trigger a CI
failure
2020-04-10 13:34:00 -04:00
Léa Saviot
e6ce3ca249 [apps] GET_OPT uses generated i18n language codes to find language 2020-04-10 04:46:22 -07:00
Léa Saviot
2ed354710f [build/simulator] NDEBUG flag in release mode
This way, asserts are not performed on simulator platforms
2020-04-10 00:49:15 -07:00
Joachim Le Fournis
4a9bfca1f6 [ion] Alpha-locked percent becomes backspace 2020-04-09 12:09:03 -04:00
Émilie Feral
8dbe719a68 [Build] Add address sanitizer option if ASAN=1 2020-04-09 15:14:30 +02:00
Joachim LF
a4af2942e6 [Fix] Conflicts 2020-04-09 14:52:49 +02:00
Émilie Feral
f2efd46814 [build] defaults.mak: don't override previously-added SFLAGS 2020-04-09 14:30:57 +02:00
Léa Saviot
449b1a4fc4 [liba/openbds] Use OpenBSD and not FreeBSD s_erff.c and s_logbf.c files 2020-04-09 13:58:56 +02:00
Léa Saviot
49cd841f99 [poincare/test] Increase some test precisions 2020-04-09 13:58:56 +02:00
Léa Saviot
44fb06890e [poincare/test] Reduce asin(-1) approximation test precision
Now the computation is really done in floats
2020-04-09 13:58:56 +02:00
Neven Sajko
dd6a729f65 Better usage of some floating point constants 2020-04-09 13:58:56 +02:00
Neven Sajko
201ecaef5b Performance fixes relating to floating point: erf and erfc
erf and erfc are missing float versions, so I import them from
openlibm. erf is used from Poincare::NormalDistribution::
StandardNormalCumulativeDistributiveFunctionAtAbscissa<float>, and erfc
is used (?) just from MicroPython.

To clarify, if there is no float version of a function like erf, but
there is a double version, C++ promotes the possible float parameter to
double and soft-float hilarity ensues.
2020-04-09 13:58:56 +02:00
Neven Sajko
c0c73accef [probability] Prevent soft-float in StudentDistribution::lnCoefficient 2020-04-09 13:58:56 +02:00
Neven Sajko
bdc5be94b6 Performance fixes relating to floating point
Removes unneccesary usage of soft-float double usage. The reason for the
useless double math being done were broken standard C++ functions:
atanh<float>, sqrt<float>, asinh<float>, operator/<float>. This was in
turn caused by missing float versions of C++ functions hypot, atan2,
logb, scalbn.

A logbf implementation was missing from the libm, so I added one from
openlibm.
2020-04-09 13:58:56 +02:00
Neven Sajko
c92b770112 Performance fixes relating to floating point constants
This replaces unnecessary double-precision soft-float operations with
single-precision floating-point operations, mainly by casting.

In a couple places I also replace a function call with a constant.
2020-04-09 13:58:56 +02:00
Émilie Feral
068325d151 Coding style: remove unecessary 'virtual' keyword when 'override' is
present 2/2
2020-04-09 11:36:51 +02:00
Émilie Feral
82c4936e04 Coding style: remove unecessary 'virtual' keyword when 'override' is
present 1/2
2020-04-09 11:36:51 +02:00
Romain Goyet
64a1094edf [escher/layout_field] Use IsMoveEvent 2020-04-09 09:47:43 +02:00
Romain Goyet
ec4def61c3 [escher/layout_field] Avoid calling the same method over and over again 2020-04-09 09:47:43 +02:00
Quentin
e383c3429f [Fix] Conflicts 2020-04-08 15:05:17 +02:00
Quentin
e77e26e2de Merge branch 'RedGl0w-patch-1' into omega-hotfix 2020-04-08 13:47:41 +02:00
Quentin
765ac98044 Merge branch 'patch-1' of https://github.com/RedGl0w/epsilon into RedGl0w-patch-1 2020-04-08 13:44:04 +02:00
Joachim Le Fournis
ded69970ab Update extapp_api.cpp 2020-04-08 13:35:26 +02:00
Quentin
53d9a9ec25 [GitHub] Remove metrics workflow 2020-04-08 13:33:42 +02:00
Joachim Le Fournis
68f6bbc378 Update Makefile 2020-04-08 13:23:59 +02:00
Quentin
26d68c8039 [Update] Upstream 2020-04-08 12:48:09 +02:00
Quentin
883d1312a3 [Fix] Fix compilation crash 2020-04-08 12:37:02 +02:00
Jean-Baptiste Boric
2f61b823d0 [poincare] Remove statically-allocated buffers 2020-04-08 10:09:47 +02:00
Jean-Baptiste Boric
2768ac2b48 [escher] Remove statically-allocated buffers 2020-04-08 10:09:47 +02:00
Jean-Baptiste Boric
64d0b3107f [apps] Remove statically-allocated buffers 2020-04-08 10:09:47 +02:00
FloMiau
b59085bd7f Update German language file
replace "Testmodus" with "Prüfungsmodus"
Real: "Reel" -> "Reell"
Gradians: "Gone" -> "Gon"
2020-04-08 10:09:24 +02:00
Romain Goyet
743eb104bf [ion] Replace Ion::Events::Event::id() by an explicit cast operator 2020-04-08 09:56:33 +02:00
Romain Goyet
35d446353f [escher] Avoid long switches on Left/Up/Right/Down 2020-04-08 09:56:33 +02:00
Romain Goyet
ed7e6bec9d [build/device] Generate a RAM map 2020-04-07 17:15:05 +02:00
David
9272d4e75f Increase Brightness Levels to 12 2020-04-07 15:10:22 +02:00
Quentin
a3e91fd3ff [Fix] Fix conflicts ._. 2020-04-07 15:01:44 +02:00
Quentin
aea963dac0 [Fix] Fix conflicts ._. 2020-04-07 14:53:19 +02:00
Aleks ANDRÉ
3ae1dcd9bf retours à la ligne aidant à la lecture 2020-04-07 14:42:38 +02:00
Émilie Feral
c363231673 [build] --silent option in rule_for_arch_executable prevent from running
'make V=1' and getting the expected output
2020-04-07 14:22:33 +02:00
Aleks ANDRÉ
ee56f02f2b Margin, messages 2020-04-07 13:57:47 +02:00
Aleks ANDRÉ
b30eb20ac2 Margins, message 2020-04-07 13:57:27 +02:00
Aleks ANDRÉ
53e15787cd Margins, message 2020-04-07 13:57:06 +02:00
Aleks ANDRÉ
1fd216c97e Margins, message 2020-04-07 13:56:46 +02:00
Aleks ANDRÉ
73f34f8f3d Relecture
– zéro → racine. Il s’agit de la terminologie du programme de [1re spécialité](https://cache.media.education.gouv.fr/file/SP1-MEN-22-1-2019/16/8/spe632_annexe_1063168.pdf)
– homogénéisation avec autres applications
2020-04-07 13:55:24 +02:00