[PATCH] various fixes detected with -Wdouble-promotion

Paul Eggert eggert@cs.ucla.edu
Sat Oct 11 09:15:04 GMT 2025


On 2025-10-11 00:16, Paul Zimmermann wrote:
> -      else if (x == 0.0)
> +      else if (x == 0.0f)

Changes like this make the code a bit harder to read and to maintain, 
and they don't add an iota of reliability.

It'd be better to ignore or disable -Wdouble-promotion, which is 
typically a waste of everybody's time.


More information about the Libc-alpha mailing list