[PATCH 0/2] libc: Kleine Standardbibliotheksergänzungen
Antworten
- [PATCH 1/2] libc: Implementiere strerror_r() · Hanna Reitz
- [PATCH 2/2] libm: pow{f,l}(), cbrt{,f,l}() und hypot{,f,l}() · Hanna Reitz
Hanna Reitz ·
Moinsen,
Rust hätte ganz gern strerror_r(), und die num-Crate hätte ganz gern
cbrt*() und hypot*(). (Außerdem braucht die cbrt*()-Version, die ich
hier herumliegen habe, powf() und powl().)
Hanna Reitz (2):
libc: Implementiere strerror_r()
libm: pow{f,l}(), cbrt{,f,l}() und hypot{,f,l}()
src/include/string.h | 6 ++++
src/modules/include/math.h | 10 +++++++
src/modules/lib/posix/strerror.c | 40 +++++++++++++++++++++----
src/modules/lib/stdlibc/math/cbrt.c | 44 ++++++++++++++++++++++++++++
src/modules/lib/stdlibc/math/hypot.c | 44 ++++++++++++++++++++++++++++
src/modules/lib/stdlibc/math/pow.c | 31 +++++++++++++++++++-
6 files changed, 169 insertions(+), 6 deletions(-)
create mode 100644 src/modules/lib/stdlibc/math/cbrt.c
create mode 100644 src/modules/lib/stdlibc/math/hypot.c
--
2.31.0