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
Émilie Feral
e13919cca7
[poincare] Use OpenBSD function for cosh, sinh, tanh and arccosh,
...
arcsinh and arctanh
Change-Id: I64f6718ebdd042512ce9b9db78dffa3c943471ff
2017-03-16 17:35:36 +01:00
Émilie Feral
d11fede7e3
[liba] Add openbsd implemenation of acos and asin
...
Change-Id: Ifc455f4e758e7c9fd936439b988bf4faf8affe4b
2017-03-16 15:12:09 +01:00
Romain Goyet
abf8fcd259
[ion] Use a C API for logging
...
Change-Id: I0aaa139b3434b62618f5e8d6ac88fe164bca4c2b
2017-02-20 13:33:14 +01:00
Romain Goyet
a447c8d0b8
[ion] Ion::Log::print(int)
...
Change-Id: I5cdb33194d32b5ac219b92cb26d77fcc978cbcb4
2017-02-16 11:00:53 +01:00
Romain Goyet
a94e8c314f
Simplify the makefile configuration
...
Change-Id: I826916e0d0b23f7429a66dfa7001b19dcc53080a
2017-02-16 11:00:17 +01:00
Romain Goyet
ff7df4e750
Merge changes Ib331bae9,I9d5000cd,I65ab7310,Ifbe11515,I1edddefd, ...
...
* changes:
Organize the build system
[ion/device] Enable powering the LCD controller from a GPIO
[liba] Enable malloc/free logging
[ion] Fix the C API
[ion] Fix the blackbox platform
[ion] Add a C bridge for the logging function
[ion] Implement Log::print using SWO on the device
2017-02-16 09:34:24 +01:00
Romain Goyet
babfe50763
Organize the build system
...
Change-Id: Ib331bae99041b998eb721b44c3b0b44426270b38
2017-02-15 19:10:23 +01:00
Romain Goyet
61e48981ef
[liba] Enable malloc/free logging
...
Change-Id: I65ab731091440854c6db486078fef49901f855fd
2017-02-14 11:24:52 +01:00
Émilie Feral
a07a90c182
[liba] Add openbsd implementation of arc tan
...
Change-Id: I48f555ea0da4cf10d3bc225c1bc4cb931c2cc8db
2017-02-13 17:15:04 +01:00
Émilie Feral
42e4cf408d
[poincare] Enbale to evaluate expression in degrees or radian
...
Change-Id: I8b08e7fa93431817559a594a1ea03d4414f0c830
2017-02-06 16:30:48 +01:00
Émilie Feral
9c3384e86b
[liba] Clean warnings: overflows due to INFINITY constant
...
Change-Id: I8a454e673afa7e4190f3d2ed74006622597b275b
2017-01-30 16:06:42 +01:00
Émilie Feral
acb38c72fa
[liba] Add the constant FLT_EPS
...
Change-Id: I74a9e51e40c5dbc10decc16d10e3054b33d376ff
2017-01-27 11:16:25 +01:00
Émilie Feral
cfa645a1e9
[liba] Add a constant representing the minimum float
...
Change-Id: I47c90687007dc4307089f2fe26658ce26c2e56ce
2017-01-15 20:08:01 +01:00
Émilie Feral
b3593da856
[liba] Delete useless constant HUGE_VALF
...
Change-Id: Ibc72edb4b5e398bde1ea7df4fceea6c362043281
2017-01-09 15:08:54 +01:00
Émilie Feral
9dc82ab35b
[liba] Replace the gamma extern constant file by the open bsd file
...
Change-Id: I11b6a6912aff05fc31a4a75c27ee5ff3bf5e2dbd
2017-01-09 15:08:54 +01:00
Émilie Feral
24c23f761c
[liba] add constant INFINITY
...
Change-Id: I801a23f5bb84bd86a4e93f6c24815737555ee8ce
2016-12-16 14:30:56 +01:00
Émilie Feral
6e47595eaa
[liba] Add expf and lgammaf to the math library
...
Change-Id: I8ddca97622404bf3346a3166e354bbfc88fc299f
2016-12-15 16:17:48 +01:00
Émilie Feral
140e943021
[apps/graph/graph] Merge two redundant methods in graph view
...
Change-Id: Icc154656143e81696abba18574c3806bcfdd4c7a
2016-12-13 15:10:03 +01:00
Émilie Feral
e58163adc6
[liba] Correct error syntax: 0.0F->0.0f
...
Change-Id: Id81cd3395a27e5411f0d9832fdd09806fbec7cb8
2016-12-08 17:10:36 +01:00
Émilie Feral
9b01508fac
[liba] add the method ceilf in math library
...
Change-Id: I339c6e51b5b89d6d18ee5dc55f069919697aea3a
2016-12-08 15:21:52 +01:00
Émilie Feral
60dcecea73
Merge changes I8ee7d119,Ibf8d2f54,I5fb92299,I07315f1b
...
* changes:
[ion] Initialize static C++ objects
[liba] Define __aeabi_atexit
[libaxx] Define __cxa_atexit
[libaxx] Explicitely define __cxa_pure_virtual
2016-12-08 15:19:29 +01:00
Romain Goyet
a0ad3c76a4
[liba] Define __aeabi_atexit
...
Change-Id: Ibf8d2f5453d457d62989e0adcc070ae09e1c9074
2016-12-08 14:50:12 +01:00
Émilie Feral
0de52a72f1
[liba] add NAN as constant
...
Change-Id: Ie8b18fe4b8423d118697ebee1ac121b356e53a69
2016-12-05 12:01:22 +01:00
Émilie Feral
ce09b44942
[apps/graph/graph] create a class for the model axis interval
...
Change-Id: I7da8441c282ba44e67855ea494c79ebb8c762a2f
2016-11-23 12:17:33 +01:00
Romain Goyet
8bff8a97aa
[liba] Implement isnan and isinf as specified by the C99 standard
...
Change-Id: Ie767503568b7391d421a46052a1fc4a85b4006c7
2016-10-26 10:01:57 +02:00
Romain Goyet
6ba4c55832
[liba] Use roundf from OpenBSD
...
Change-Id: I00fbcadffcc54b2af820de203be6c5880f12a884
2016-10-25 11:38:13 +02:00
Romain Goyet
5befa0f0a8
[liba] Add isinff and isnanf
...
Change-Id: I7141c6aef7dc8fed3538f157f9c1fcec76d951d1
2016-10-25 11:01:21 +02:00
Romain Goyet
183efe9257
[liba] Import trigonometric function from OpenBSD's libm
...
Change-Id: Ib192451a0063388e0438bdef5e7ae776ed058e19
2016-10-07 20:10:57 +02:00
Romain Goyet
e991ea07c2
[liba] Use OpenBSD's libm
...
It has support for single-precision float functions
Change-Id: Ibf59c0fd790445773b24d4832a4b30a1eb15006d
2016-10-07 19:45:09 +02:00
Romain Goyet
39f6990f76
[liba] Add powf from FreeBSD and its dependencies
...
Change-Id: I8cfe65edfb95232e6a6bc66dcc2f908a3135ed14
2016-10-07 17:11:52 +02:00
Romain Goyet
9fd2d9e68c
[liba] Use log10f from FreeBSD's msun library
...
Change-Id: Ief92bbab53377e093a381aed5e92ab00c894b9d0
2016-10-07 13:54:56 +02:00
Romain Goyet
d9b0132f16
[liba] Add a bridge for incomplete libc
...
For example, GLIBC doesn't provide strlcpy which we want to use
Change-Id: Iebbadfd42ca8e5dc089a8fe0b670fef843a10027
2016-10-04 14:22:19 +02:00
Émilie Feral
34c1c92ab1
[liba] implement _aeabi_memcpy4 required by ARM EABI
...
Change-Id: I1a9b267b6c9118be224ec6a5115f53755f004c33
2016-09-26 12:24:49 +02:00
Émilie Feral
5fdb7d729e
[liba] implement strlcpy
...
Change-Id: I083129b31cbb070e8c1d87d7e3db91f8134e3540
2016-09-26 12:22:15 +02:00
Romain Goyet
42d0bd045a
[liba] Update the size_t definition
...
Change-Id: I88bf9b82956c471e5da53525e98af89bfaab5d48
2016-09-21 14:09:35 +02:00
Romain Goyet
e24d8a55fb
[liba] Update the size_t type definition
...
size_t must be an unsigned it. Moreover, by definition, size_t is the
return type of the "sizeof" operator, which is defined by the compiler.
Both GCC and clang define a __SIZE_TYPE__ macro to let the libc header
know about the type used by the sizeof operator.
Change-Id: Ie44f1ba69fe2b1d5ce5cd9a0e7fd8a7f10c1199d
2016-09-21 14:03:52 +02:00
Romain Goyet
e3c6264068
[ion] Remove _liba_heap_start, simply use _heap_start
...
Change-Id: I395762275f3aa1832210dfc3faae9c0eefb91d9e
2016-09-21 13:50:58 +02:00
Romain Goyet
3c4b4a4d51
[liba] Add aeabi-memclr4
...
Change-Id: I9ce3282773e2d1ada2f731e5c5c7ee07e7706612
2016-08-29 14:05:05 +02:00
Romain Goyet
30aa62e3c5
Escher: Introduce the TiledView
...
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
1b4b2638f7
[liba] Use stddef.h
...
Change-Id: I6bd0999d173488e4aff989bdb1bfa93229de7eaa
2016-07-05 13:27:33 +02:00