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
cctype
cerrno
cinttypes
climits
clocale
cmath include/cxx/{cstdlib,cmath}: Provide std::abs overloads 2026-08-24 12:04:30 +08:00
csignal
cstdarg
cstdbool
cstddef cxx/cstddef: expose 'max_align_t' 2025-12-09 18:03:10 +08:00
cstdint
cstdio
cstdlib include/cxx/{cstdlib,cmath}: Provide std::abs overloads 2026-08-24 12:04:30 +08:00
cstring
ctime include/cxx/ctime: Add localtime to std namespace. 2026-06-09 11:33:40 -03:00
cwchar
cwctype