uclibc: Fix double promotion warning
commit5820f4b5860f97c66b01bc8e25ea876ae4f07478
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>
Tue, 9 Jul 2024 07:38:40 +0000 (9 09:38 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 9 Jul 2024 07:53:20 +0000 (9 09:53 +0200)
tree026ab686123461d5f89258d0fc41221285679002
parent6271f8e869a4369b3bbcdd8a58ccce876eeae49b
uclibc: Fix double promotion warning

Add casts where necessary to convince clang that the promotion of float
to double is intentional.

Co-authored-by: Sven Linker <sven.linker@kernkonzept.com>
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
libc/stdio/_fpmaxtostr.c
libc/stdlib/_strtod.c
libm/cexp.c
libm/float_wrappers.c
libm/nan.c
libm/w_cabs.c