Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!gatech!mcnc!uvaarpa!hudson!bessel.acc.Virginia.EDU!gl8f
From: gl8f@bessel.acc.Virginia.EDU (Greg Lindahl)
Newsgroups: comp.lang.c
Subject: wide arguments and/or argument widening
Summary: why o why?
Message-ID: <847@hudson.acc.virginia.edu>
Date: 4 Dec 88 23:59:20 GMT
Sender: news@hudson.acc.virginia.edu
Reply-To: gl8f@Virginia.EDU (Greg Lindahl)
Organization: Dept. of Astronomy, University of Virginia
Lines: 14

Why are arguments to C functions always widened to ints or doubles? This
makes sense when the argument is being widened to the buswidth (which
ints are supposed to be), but doubles are often larger than that. And
widening to ints can cause trouble when you're doing weird things such
as using 32 bit ints on a 68000 for compatibility reasons...

advance thanks,

-- greg

----------
Greg Lindahl                                    internet:  gl8f@virginia.edu
University of Virginia Department of Astronomy    bitnet:  gl8f@virginia.bitnet
"When a 300' dish falls in the woods, and nobody hears, does it make a sound?"