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
Romain Goyet
741eaba19a
[liba] Add empty setjmp.h and limits.h
...
MicroPython requires them but, in our case, doesn't use them.
Change-Id: Ide003974c71accb1e9cc42f0839f1f64d07b0390
2017-08-04 17:56:23 +02:00
Romain Goyet
d9975c92bb
[liba] Add a test for stddef
...
Change-Id: I7a1dc05642a5840b491d6c439269312739388289
2017-08-04 17:56:23 +02:00
Romain Goyet
159b6f7429
[liba] Add strchr to string.h
...
Change-Id: I6651daa030ad6dc5e567bb78f2f22d48f07524aa
2017-08-04 17:56:23 +02:00
Romain Goyet
3ef709502e
[liba] Add memcmp to strings.h
...
Change-Id: Ied4281e588d423e2b00dced10018a690455544d5
2017-08-04 17:56:23 +02:00
Romain Goyet
2898ec916c
[liba] Add memmove to string.h
...
Change-Id: I99b412dc7404e2711dbf7753f0d619694dee3d19
2017-08-04 17:56:23 +02:00
Romain Goyet
301e0a7891
[liba] Add alloca.h
...
Change-Id: I190dd8a0836a60fa95cd159f6f636f7850fe7b63
2017-08-04 17:56:23 +02:00
Romain Goyet
c5d917c360
[liba] Cleaner __builtin-based defines
...
Change-Id: I4b58ab36f25e9cb136c21375166921c04882dd21
2017-08-04 17:56:23 +02:00
Romain Goyet
1972b30a77
[liba] Support for variadic functions (va_arg)
...
Change-Id: Ic4ea2bce521ad8149198433afe74214018998afc
2017-08-04 17:56:23 +02:00
Romain Goyet
878d86df71
[liba] Add intptr_t and uintptr_t to stdint.h
...
Change-Id: I7bb28aa1d449da0413c751e66e69f17dc9492d8f
2017-08-04 17:56:23 +02:00
Romain Goyet
15725a5cc8
[liba] Add ENOENT to errno.h
...
Change-Id: Ie25fae6abff7c384ee7bea02aa1d2dbba82c06c4
2017-08-04 17:55:53 +02:00
Romain Goyet
c8e2b0d2be
[liba] Define ssize_t and offsetof
...
Change-Id: Icbf546cd09f4e3c3e849f830bb3c60ffa3c13b6c
2017-08-04 17:55:53 +02:00
Romain Goyet
750b51dd2f
[liba] Proper testing of type signedness
...
Change-Id: I89ddc116ff33c384ba916f8f52e20347c49483f0
2017-08-04 17:55:53 +02:00
Romain Goyet
f21428e20f
[liba] More detailed README for the externals
...
Change-Id: I9c5c4d9e86933aa81e3f45048bb004acafed41bc
2017-08-03 14:59:34 +02:00
Romain Goyet
c84b378b8b
[liba] Add a double-precision libm
...
Change-Id: I3d0b5393eaaec3e01529e739535512c07f41a088
2017-08-03 14:52:20 +02:00
Romain Goyet
a1f1e2df6a
[liba] isinf/isnan both work on double
...
Change-Id: I08e0c338e343a5357b91ed3a3f2e63db37efc983
2017-08-03 14:51:00 +02:00
Romain Goyet
e655adb36a
[liba] Remove some softfloat warnings
...
Change-Id: I932344e1f1997899dcc42cec54aaf10df1cf2eea
2017-08-03 13:19:18 +02:00
Romain Goyet
42e5a45539
[liba] Rename a libm file
...
Change-Id: Ic0271c3a769f29fa46dd9bc1bb65e848a0f48373
2017-08-03 13:10:36 +02:00
Romain Goyet
27b9675709
[liba] Nicer port softfloat.h header
...
Change-Id: I347b181ce8b69d5274e590edcac5ed32af867662
2017-08-03 13:10:30 +02:00
Romain Goyet
70b9f41de9
[liba] Implement AEABI double helpers using the softfloat library
...
Change-Id: If329dcc55425f6e8db4b2ce26ea7d8be15c31c8d
2017-08-03 11:10:57 +02:00
Romain Goyet
9659243a5b
[liba] Add fast/least integer type definitions
...
Change-Id: Id360c019659e64a7f0a2137df206047c19be5906
2017-08-03 11:10:57 +02:00
Romain Goyet
42deac0770
[liba] stdbool.h defines true and false
...
Change-Id: I83ad538bdfc482af1c760a4c4609633ede42053f
2017-08-03 11:03:01 +02:00
Émilie Feral
e37f1418e5
Clean DEBUG macro
...
Change-Id: I5acf266d565045468c6fba19b1ca493773ae78bc
2017-06-16 15:08:14 +02:00
Émilie Feral
3d1fc8e5d1
[liba] Correct __aeabi_llsr, __aeabi_llsl with tests
...
Change-Id: I710adab0ecd232f2e5bab08adbf10ef686c651c5
2017-05-23 15:15:44 +02:00
Émilie Feral
52c15de070
[liba] Implement llsl
...
Change-Id: I651deb9ae7b48cabaeb7e21d13ed395f133fd0c3
2017-05-22 16:35:27 +02:00
Émilie Feral
45fa0ac0a8
[liba] Clean
...
Change-Id: Ic59df28d78ed02fb55fcf62e9d79434590194a93
2017-05-22 16:35:27 +02:00
Romain Goyet
227ddb01d7
[apps] Fix an uninitialized variable
...
Change-Id: I8a5e28b411a168e7c62108c65a7442b20f6f609a
2017-05-09 11:16:53 +02:00
Émilie Feral
fb7a598894
[liba] Abort if malloc does not return a defined pointer
...
Change-Id: I732bc5ca4eba23905bdb8cf49cbf70941ed97068
2017-04-10 11:01:10 +02:00
Romain Goyet
9c63201835
[liba] Remove warnings on external code
...
Change-Id: I801d84ce9f780ab3a91569b3d2c6c1341d1a513a
2017-04-04 16:52:56 +02:00
Romain Goyet
47a9f8258a
[liba] Add 64bit right shift as specified by AEABI
...
Change-Id: I901c1fd6719b7dff99df7e519e158861eb948fd5
2017-03-30 17:35:34 +02:00