Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!gatech!ncsuvx!ece-csc!jnh From: jnh@ece-csc.UUCP (Joseph Nathan Hall) Newsgroups: comp.lang.c Subject: Re: VAX (VMS) C / strangeness (serious bug?) w/ prototypes and floats Message-ID: <3615@ece-csc.UUCP> Date: 27 May 88 00:00:15 GMT References: <3614@ece-csc.UUCP> Reply-To: jnh@ece-csc.UUCP (Joseph Nathan Hall) Organization: North Carolina State University, Raleigh, NC Lines: 20 Pardon me for a couple of typos: the second 'y =' should be z = 3.0 (obviously) and the actual output is 1.000000 2.000000 1.000000 1.000000 2.000000 1.000000 More notes: the results are the same if you cc/prec=sing and/or /noopt and/or if you cast the arguments float: test((float) 1.0, (float) 2.0, (float) 3.0) ... -- v v sssss|| joseph hall || 201-1D Hampton Lee Court v v s s || jnh@ece-csc.ncsu.edu (Internet) || Cary, NC 27511 v sss || the opinions expressed herein are not necessarily those of my -----------|| employer, north carolina state university . . . . . . . . . . .