Romain Goyet
2e6dec5f1d
[libaxx] initializer_list use size_t
2020-04-15 09:16:32 -04:00
Romain Goyet
77ee5126e1
[libaxx] Add algorithm
...
Only contains a super simple min and max implementation
2020-04-14 09:31:02 -04:00
Romain Goyet
1bd6105a0a
[libaxx] Add initializer_list
2020-04-10 13:35:14 -04: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
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
Jacob Young
a8783fe21f
Remove a duplicate function, cleanup sorting and use consistent argument names in math.h.
...
Add missing math.h tests and make each test a single line for easier comparison with math.h.
Add missing cmath undefs and functions and use constexpr instead of static.
2020-03-16 15:00:40 +01:00
Émilie Feral
059c596a80
Makefiles: avoid building all sources for each target; introduce more
...
modularity
2019-08-08 17:22:01 +02:00
Romain Goyet
4f1d74f44b
[build] Use an out-of-tree build
2019-03-06 15:00:59 +01:00
Léa Saviot
de5b085923
[poincare] Separate some declarations of std:complex in a .cpp
2018-09-07 10:18:55 +02:00
Émilie Feral
77047a173b
[liba] define fmod
2018-07-18 17:09:07 +02:00
Émilie Feral
e7619633bd
[liba] Add fmax in math.h header
2018-07-18 16:32:49 +02:00
Émilie Feral
2a05247629
[liba] Add hypot in math.h header
2018-07-18 16:32:49 +02:00
Émilie Feral
9fcb22ef8e
[libaxx] Add complex c++ library
2018-07-18 16:32:49 +02:00
Émilie Feral
253a9de5fb
[libaxx] Add std::erf in cmath
2018-01-04 15:48:06 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Jacob Young
da1e66e798
Fix #115 by fixing the math.h and cmath includes.
2017-10-13 18:08:15 +02:00
Émilie Feral
11d0ad31cf
[poincare] Fix implementation of utility
...
Change-Id: If13237893a1ded53560e53cca51146befcf424bf
2017-09-29 16:34:46 +02:00
Émilie Feral
1964d61fdc
[libaxx] add cmath and use cmath instead of math.h when required
...
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Romain Goyet
c0040d9aae
[libaxx] Add operator new[] and delete[]
...
Change-Id: Id20e803461a6e8c2b3484d094a5483763c06ed0d
2017-08-02 09:56:19 +02:00
Émilie Feral
af4dc3cfd9
[libaxx] Inline placement new
...
Change-Id: I561c5221d8284bf4fbe5846ee346baa874829904
2017-05-18 15:17:05 +02:00
Romain Goyet
64b31a2974
[libaxx] Support placement new
...
Change-Id: Ie2e2157cb27e7061c3225dbc01654465ae43e19f
2017-05-18 14:14:33 +02:00
Romain Goyet
59e52d7387
[libaxx] Implement std::move
...
Change-Id: I0c4c21ad8b8db4fc0f8c4ee61d9c79b49dd7b278
2017-05-09 11:08:55 +02:00
Romain Goyet
7fb1f78f6f
[libaxx] Define __cxa_atexit
...
In practice, it does nothing!
Change-Id: I5fb92299c4672d1635d0b77c2fc5de4e666c7213
2016-12-08 14:49:35 +01:00
Romain Goyet
6f5a3cf48f
[libaxx] Explicitely define __cxa_pure_virtual
...
Change-Id: I07315f1bf84771a2784788e0d0eea4360245701d
2016-12-08 14:48:47 +01:00
Romain Goyet
4f3a062bb8
libaxx: remove a warning
...
Change-Id: I0d59ee19258e63d92adc870bb068f733adf39376
2016-04-25 16:53:34 +02:00
Romain Goyet
435410b18b
[libaxx] delete operator
2015-09-21 10:37:55 +02:00
Romain Goyet
872efea4d1
Liba cleanup
2015-05-31 13:51:41 +02:00