Commit Graph

32 Commits

Author SHA1 Message Date
É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
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
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
1b4b2638f7 [liba] Use stddef.h
Change-Id: I6bd0999d173488e4aff989bdb1bfa93229de7eaa
2016-07-05 13:27:33 +02:00
Romain Goyet
6ae2412568 liba: Proper definition for 16 bits integers
Change-Id: I23bfd6e52eb09470b45e51a80b5b3320ee4f616f
2016-06-13 13:13:19 +02:00
Felix Raimundo
eed53079ca Add EOF to stdio.h
Change-Id: I94e2b93bbfe50fd8daaf0ad5f8c2447c0d6fbef4
2016-03-18 18:55:25 +01:00
Romain Goyet
3c795a8763 Fix the guardian
Change-Id: I14af6937fecfbe90ab053594e1269fcbc3681b1c
2016-03-18 17:03:18 +01:00
Romain Goyet
fd0c6eaba3 Add a (fake) implementation of powf in liba
Change-Id: I14af6937fecfbe90ab053594e1269fcbc3681b1c
2016-03-18 16:52:02 +01:00
Romain Goyet
89c34d8251 [liba] strcmp 2015-09-29 23:07:19 +02:00
Romain Goyet
6799f82e82 [liba] stdint size checks 2015-09-24 19:57:07 +02:00
Romain Goyet
3e8ba2312d [liba] Proper signed-ness of intxx_t 2015-09-22 15:52:01 +02:00
Romain Goyet
73052ed07f [poincare] Integer addition and subtraction 2015-09-21 17:49:51 +02:00
Romain Goyet
08441e6ec5 [ion] big cleanup 2015-09-19 13:09:41 +02:00
Romain Goyet
61949c20ab [liba] Define uint8_t 2015-09-07 18:42:22 +02:00
Romain Goyet
5c95ee85cb [LIBA] bool already exists in C++ 2015-09-01 22:58:28 +02:00
Romain Goyet
96c2ad4228 Proper DEBUG flag 2015-08-04 22:45:08 +02:00
Romain Goyet
067c53d705 Multiple platform support 2015-08-03 21:04:13 +02:00
Romain Goyet
871111d4b4 Cleanups 2015-05-31 21:39:04 +02:00
Romain Goyet
872efea4d1 Liba cleanup 2015-05-31 13:51:41 +02:00
Romain Goyet
803ffda5bc Liba 2015-05-31 13:24:35 +02:00