Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c Subject: Re: Float Double Parameters Message-ID: <5216@alice.uUCp> Date: Sat, 29-Mar-86 10:04:46 EST Article-I.D.: alice.5216 Posted: Sat Mar 29 10:04:46 1986 Date-Received: Tue, 1-Apr-86 00:16:30 EST References: <2600042@ccvaxa> Organization: Bell Labs, Murray Hill Lines: 17 >> First and foremost, get rid of the stupid promotion to doubles! I >>have considered this a misfeature ever since I heard of it. >>Tangentially to this topic, does X3J11 have anything to say on this >>matter? >X3J11 says "arguments that have type float are promoted to double". Too bad. Ansi C also lets you declare types of formal parameters to externals: extern float f(float x); in which case: f(1); /* 1 is converted to float */ f(1.0); /* 1.0 is converted to float */ are both OK.