Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!psuvax1!psuvm!cmh117 From: CMH117@psuvm.psu.edu (Charles Hannum) Newsgroups: comp.lang.c Subject: Re: log10(8) Message-ID: <90058.153054CMH117@psuvm.psu.edu> Date: 27 Feb 90 20:30:54 GMT References: <3244@servax0.essex.ac.uk> <1460@amethyst.math.arizona.edu> Organization: Penn State University Lines: 21 In article , meissner@osf.org (Michael Meissner) says: > >| Try printf"%lf",l); after all l is declared to be a double!!!!!!!! > >Sigh. Printf is a varargs function. This means that there is no way >a 'float' can be passed to it. Thus %f and %lf are synomous..... As I don't have access to my copy of K&R2 until Monday, could you please point me to a specific reference? BTW: I know of at least one compiler that *does* pass floats as floats, not doubles. Virtually, - Charles Martin Hannum II "Klein bottle for sale ... inquire within." (That's Charles to you!) "To life immortal!" cmh117@psuvm.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..." c9h@psuecl.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."