Romain Goyet
4f1d74f44b
[build] Use an out-of-tree build
2019-03-06 15:00:59 +01:00
Ruben Dashyan
efde8c6c9e
[liba] Add strncmp
2018-11-23 12:04:05 +01:00
Damien Nicolet
79bfc7f112
[code] time module
2018-11-09 01:30:22 +01:00
Romain Goyet
fc80180d46
[liba] Define ptrdiff_t
2018-10-19 10:59:17 +02:00
Léa Saviot
1467d67c0b
[liba] Fix strlcpy test
2018-10-17 11:22:37 +02:00
Léa Saviot
d12da1459a
[liba] strlcpy(dst, src, dstsize) returns strlen(src)
2018-10-17 11:22:37 +02:00
Romain Goyet
6f7063dfda
[liba] Make sure memset and memcpy are always kept at link time
...
Works around a bug in GCC
2018-10-12 14:39:26 +02:00
Émilie Feral
c95c3145bc
Merge remote-tracking branch 'github/master' into Tree
2018-09-13 17:03:31 +02:00
Émilie Feral
a1bcbe28e6
[quiz] Turn all assert in quiz_assert
2018-08-28 10:40:52 +02:00
Romain Goyet
40f499b594
Switch to libgcc entierly when using gcc as a toolchain
2018-08-24 17:44:35 +02:00
Damien Nicolet
a4abd5e34c
Add option USE_LIBGCC to link agains libgcc instead of liba softfloat implementation.
2018-08-24 17:44:35 +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
Romain Goyet
55e4c955f4
Upgrade to MicroPython 1.9.3
2018-04-09 14:43:15 +02:00
Émilie Feral
ecb7ec403a
[liba] Use softfloat IEEE754 getters implementation instead of
...
re-implementing them
2018-03-21 15:54:58 +01:00
Émilie Feral
e7963332f6
[liba] Wrong signature in EABI implementation
2018-02-09 21:44:13 +01:00
Émilie Feral
90a75a320b
[liba] Add __aeabi_ul2d implementation
2018-01-23 10:24:52 +01:00
Émilie Feral
3f0328f5b5
Add assertions for dangerous bit shift that could trigger undefined
...
behaviour
Change-Id: I051ed229d407eafcae1ea4b5fc745176a751e036
2017-12-01 11:53:55 +01:00
Léa Saviot
92789330de
[code] Search function in the code Toolbox.
...
When the user types a letter, the toolbox scrolls to the first row that begins
with said letter (without considering if it is lower or upper case). If
there is not such a row, the toolbox scrolls to the first row that has a
letter higher than the typed letter.
Change-Id: I353d23560d8a4d618d96426c393b024e7fb487af
2017-11-21 17:30:04 +01:00
Léa Saviot
fe3d470d2d
[liba] Fixed Gamma function bug.
...
There was a problem with the definition of ldexp, used in b_log__D.c
Change-Id: I83d012815e38b76efa730c1a3d259ec276e15f11
2017-11-17 14:05:23 +01:00
Léa Saviot
5de4b5cd67
[code] Each script has a name, stored in the accordeon buffer.
...
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.
Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
2017-11-17 11:59:50 +01:00
Romain Goyet
f265822792
[liba] Add extra math functions (erf erfc log2 logb tgamma rint scalb)
2017-11-17 11:59:49 +01:00
Romain Goyet
0ca52e201f
[liba] Add extra libm symbols (ldexp, fmod, trunc, atan2)
2017-11-17 11:59:49 +01:00
Romain Goyet
3adc5d9fac
Use OpenBSD 4.9's libm
...
This version still has all the double function (and not the long-double
ones). And apart from this, it's virtually identical to the 6.0 code.
2017-11-17 11:59:49 +01:00
Romain Goyet
b9e83231e6
[liba] Add extra math functions (frexpf, modff, truncf)
2017-11-17 11:59:49 +01:00
Romain Goyet
e46d157fe6
Add a bridge for a missing alloca.h on windows
2017-11-12 02:10:19 +01:00
Romain Goyet
b671a812e1
[liba] Mark abort() as noreturn
...
Fix #213
2017-10-20 19:59:45 +02:00
Romain Goyet
5a2446eff7
[liba] Proper support for function-like macros for math functions
2017-10-19 17:31:40 +02:00
Jacob Young
f2b7f92d71
Merge in upstream openbsd commit yu8HfTXRTrrv8b2W which allows isnanf, isnand, isinff, and isinfd to be deleted.
2017-10-13 18:08:15 +02:00
Jacob Young
da1e66e798
Fix #115 by fixing the math.h and cmath includes.
2017-10-13 18:08:15 +02:00
Émilie Feral
feeec6b826
[escher] Add behaviour for end and origin events
...
Change-Id: I363dad3c566289a285179a9f26d3a779f0ff812f
2017-09-27 10:28:16 +02:00
Jacob Young
4d9e8c40b8
Fix #102 .
2017-09-21 13:32:27 +02:00
Jacob Young
7e2cc375d2
Fix potential overflow in complex radius calculation.
2017-09-20 12:04:35 +02:00
Jacob Young
2a2112396e
ARM only has 32-bit integer registers, so using types smaller than 32-bits produces larger/slower code.
2017-09-18 15:13:00 +02:00
Émilie Feral
9ac25fc03a
Repair windows build
2017-09-06 10:05:17 +02:00
Émilie Feral
925f404382
[liba] Add aeabi long conversion
2017-08-31 15:17:22 +02:00
Adrien Bertrand
f34bf67bab
build: fix warnings
...
* escher/src/text_area.cpp:113:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
* liba/src/external/openbsd/k_rem_pio2f.c:66:54: disable -Wmisleading-indentation
2017-08-30 13:01:22 +02:00
Émilie Feral
aa567bf133
[liba] Add comment regarding nearbyintf
...
Change-Id: I6c02f2fe19cccce60516ad36062bc736e803991a
2017-08-28 11:51:17 +02:00
Émilie Feral
b277d86430
[liba] Add test to setjmp longjmp
...
Change-Id: I6951d7948d8c6a282b16007d6bef448c179f70b8
2017-08-25 11:20:49 +02:00
Émilie Feral
6b783346cc
[liba] Add setjmp and longjmp
...
Change-Id: I3a57787199308900de8e7c6ce5961b2a26f6d38e
2017-08-25 11:20:49 +02:00
Émilie Feral
818c56bd45
[python] Enable float
...
Change-Id: I94111dd821fb3a9ef1e22ae5133c3a48285c52d5
2017-08-25 11:20:49 +02:00
Émilie Feral
05d2b83f92
[liba] Implement memclr8
...
Change-Id: Icc1ad9aed4911c5990e4f2e51e68c596e99e8534
2017-08-16 09:55:29 +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
Émilie Feral
9f0bbe0e75
[liba] Avoid implicit declarations
...
Change-Id: I4ee85185a2a35550b7dcdec383a8335423ac1156
2017-08-16 09:55:29 +02:00
Émilie Feral
09aaa3a19f
[liba] Do not hide open bsd building warnings
...
Change-Id: I13b22a4997777d8e7a9e72611fb473b0489d99c5
2017-08-16 09:55:29 +02:00
Émilie Feral
44328a9faa
[liba] Expose copysign libm function
...
Change-Id: Ib38f94a9bab141c5ed417d5ea2cf654aef9179f5
2017-08-16 09:55:28 +02:00
Émilie Feral
9aea689fb8
[liba] Correct tests on ieee754
...
Change-Id: I915a90e771364c19b721f07b0aed3f2a36d5e904
2017-08-16 09:55:28 +02:00
Émilie Feral
3bbc3f2cb9
[liba] Fix bug in double arithmetic implementation
...
Change-Id: I9344e5d9c483d17b8b8ce3a652a7b8259e0f651c
2017-08-16 09:55:22 +02:00
Émilie Feral
a66c356ec0
[liba] Mute softfloat warnings
...
Change-Id: Ic96e05da709ad280caa54d37d398522985cb0792
2017-08-11 14:07:14 +02:00
Émilie Feral
f8f81505bc
[liba] Add DBL_MAX, DBL_MIN, DBL_EPSILON
...
Change-Id: Ib7f3e170c5305269624410b0464d44a16d961aa3
2017-08-09 16:42:13 +02:00