ANSI C Standard: Float/Double Handling

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Mon Nov 12 06:22:42 AEST 1984


> 	It seems to be a poor idea to make all float constants
> double, because a single constant in an expresion will promote
> all the way through the expression, causing all those unwanted
> conversions.

But the programmer has complete control over this:
	(float)3.14159...
is a float, not a double (under the proposed new rules).



More information about the Comp.lang.c mailing list