nuttx/include/cxx
Moritz Pflanzer 583f335a52 include/cxx/{cstdlib,cmath}: Provide std::abs overloads
The overloads of std::abs are defined in cstdlib and cmath according to
the C++ standard.

Without these new definitions the `int std::abs(int)` function was
selected for all argument types resulting in a truncation of the return
values.

Signed-off-by: Moritz Pflanzer <moritz@chickadee-engineering.com>
2026-08-24 12:04:30 +08:00
..
nuttx include/cxx/{cstdlib,cmath}: Provide std::abs overloads 2026-08-24 12:04:30 +08:00
cassert include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cctype include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cerrno include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cinttypes include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
climits include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
clocale include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cmath include/cxx/{cstdlib,cmath}: Provide std::abs overloads 2026-08-24 12:04:30 +08:00
csignal include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdarg include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdbool include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstddef cxx/cstddef: expose 'max_align_t' 2025-12-09 18:03:10 +08:00
cstdint include: Author: Gregory Nutt: update licenses to Apache 2.0 2021-02-04 03:33:58 -08:00
cstdio include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cstdlib include/cxx/{cstdlib,cmath}: Provide std::abs overloads 2026-08-24 12:04:30 +08:00
cstring include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ctime include/cxx/ctime: Add localtime to std namespace. 2026-06-09 11:33:40 -03:00
cwchar include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cwctype include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00