Re: [PATCH 1/2] Avoid implicit floating point conversions [v2]

Keith Packard via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Corinna Vinschen via Newlib <[email protected]> writes:

> Not taking implicit compiler optimisations into account, wouldn't it
> make more sense to avoid the conversion altogether, using
> __builtin_inf() in these places?

Yeah, could do that instead. I think it's mostly a matter of what looks
better -- using the "standard" value of INFINITY and casting or using a
compiler internal value without. I think it'll confuse an equal number
of people either way.

Any preferences?

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl9D3eYACgkQ2yIaaQAA
ABE77A//UH3tlvUzQ4jwPjOAmS5bhTRqDYz3CvM3dlZEKInoYnIQrmfQq6IOKq5V
vJLMvFF98QB9YleIzvpo13+x84TzsmZ7JXmO6T/agIMYdV/lT4dKfEsJDYyTgq3f
Upw895lXMbndgWthCU5l5PYkCDmW6qO8Bf9YL64ukNyLflr8JqlpaAQ6oa+D4UkQ
o4qygdfI4ysZmrqeUZXMH/agpSmIJ7AOHxfWKavtEASNmJ6ezsSNrrVq0mRnckR7
B3oTkuOc/qaUpFx/ixK4DwSpFojymlA9XPQ7TRP86wZT3XLyvENnGyIeUfBRmCxt
B2epFlrcZymUEkM3dX5v5oBcCoXr6cUK+Vx3YZeCwc2EUFRgf3ZoOZIRRPnhB5se
+SquTQYSaRp1T46rPaP6qJo0G5nL52vSCdqWiKBd2DuT9ruXtWgpnoX+FFdYbXal
WAUF2muBngFsN7gjkAPDh1y+QHgpzCLCL2WDqbl7JMrKeC3T3iRefZ7n76VZbMs8
ToqdGVRZGgaSbGe/hpyGfHzP0peanbC5soqfEeZU4qnjmIqlRkUEUgFKra1QYEnt
Ziv8PnnQvu4avALGx3VQAIx4NQ9br9H/ZA5gks7mfbHg4bRv32lzWqNK74SaC4tH
Raeov6YYXT3dv6+nq4TSYOUupFH+1zG6GvzR+uE0pXShtL7JNpQ=
=LlAf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.