Pointing Float
VLD/VMB
gwyn at BRL.ARPA
Mon Dec 16 10:03:39 AEST 1985
Add Cottrell to the turkey list if you haven't long ago.
It doesn't matter whether HIS particular compiler has the ability
to avoid unnecessary conversions in the code it generates or
not. The C implementor may at his discretion do so, so long
as the effect of the code is as prescribed by the language
spec. In the case of char<->int, many compilers do indeed
take care to avoid unnecessary conversions. They could do so
for float<->double, if the implementor would take the trouble
(perhaps the Tartan Labs compiler does; I don't know).
When we're discussing general properties of the C language,
appeal to a particular implementation proves nothing.
More information about the Comp.lang.c
mailing list