[comp.lang.c] more on cdecl

peter@athena.mit.edu (Peter J Desnoyers) (04/24/88)

I just saw something interesting in the man pages for some Harris
computer I use (I'm embarrassed I don't know the model number) 
that is relevant to the (civilized part of the) cdecl discussion 
that was going on earlier:

If log, exp, etc. are declared as "fortran float log();" instead of
"double log();" then the compiler will generate the inline 
instructions flog, fexp,... (or whatever the names were)

It seems, like cdecl, to be a reasonable way to solve a non-portable
problem. I think the reason why cdecl angered so many people is
because it is a solution (not a bad one) to a botch brought on by
failure to standardize calling conventions, aggrevated by the design
of the processor.

				Peter Desnoyers
				peter@athena.mit.edu