Path: utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!mcvax!moncam!paul From: mcvax!moncam!paul@UUNET.UU.NET (Paul Hudson) Newsgroups: gnu.gcc.bug Subject: More on Small floating point constants are doubles? Message-ID: <8903280946.AA14743@marvin.moncam.uucp> Date: 28 Mar 89 09:46:51 GMT References: <15894@princeton.Princeton.EDU> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 Dave Hanson points out that I can get float constants rather than doubles by appending an "F". I should have explained further ... ;-). I'm in the unfortunate position of having to keep my code in a state where it can be compiled by ANSI and non-ANSI compilers. Adding #ifdef __STDC round prototypes etc is bearable, but conditionally compiling a "f" after all the floating point constants would get silly. Thus I'd like that option. Paul Hudson Snail mail: Monotype ADG Email: ...!ukc!acorn!moncam!paul Science Park, paul@moncam.co.uk Milton Road, "Sun Microsysytems: Cambridge, The Company is Arrogant (TM)" CB4 4FQ