Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!udel!princeton!mccc!pjh From: pjh@mccc.UUCP (Peter J. Holsberg) Newsgroups: comp.lang.c Subject: Passing values to functions Message-ID: <239@mccc.UUCP> Date: 25 Feb 88 15:01:52 GMT Distribution: na Organization: The College on the Other Side of US Route 1 Lines: 15 Keywords: send an int to a fn that want a double? Dumb question: if in an assignment like x = 3; where x is declared a double, the 3 is simply widened to the size of a double, why does this fail? min = minimum( min, x ); where double minimum( double, double ); Thanks. -- Peter Holsberg UUCP: {rutgers!}princeton!mccc!pjh Technology Division CompuServe: 70240,334 Mercer College GEnie: PJHOLSBERG Trenton, NJ 08690 Voice: 1-609-586-4800