nuttx/include/cxx/nuttx
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
..
std_abs.h