[LCP]Rounding questions

Greg Black gjb at gbch.net
Sat Sep 7 17:56:06 UTC 2002


Bill Rausch wrote:

| Unprototyped functions are always assumed to return ints.  They are 
| also assumed to take arguments that are either ints or doubles and 
| the compiler will automatically convert floats to doubles when 
| passing args to a non-prototyped function.

But it won't promote 390 to double, so this is not entirely
useful.

Greg




More information about the linuxCprogramming mailing list