basic/math-util: drop libm where possible

- test-random-util is reworked to not use sqrt()
- pretty-print.c inlines ceil() so libm doesn't have
  to be linked into libshared
- We add fno-math-errno to allow inlining of more math
  functions by not requiring standard math functions to 
  set errno on invalid input.
This commit is contained in:
Daan De Meyer
2026-05-20 16:32:22 +02:00
committed by Daan De Meyer
parent 6891016149
commit 933a45835f
8 changed files with 24 additions and 21 deletions
-1
View File
@@ -215,7 +215,6 @@ libbasic_static = static_library(
dependencies : [libbzip2_cflags,
libgcrypt_cflags,
liblz4_cflags,
libm,
libxz_cflags,
libz_cflags,
libzstd_cflags,