Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Problem with Turbo C and floating point Message-ID: <6216@haddock.ima.isc.com> Date: 17 Aug 88 22:49:02 GMT References: <1817@akgua.ATT.COM> <477@accelerator.eng.ohio-state.edu> Reply-To: karl@haddock.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 8 In article <477@accelerator.eng.ohio-state.edu> rob@kaa.eng.ohio-state.edu (Rob Carriere) writes: >ANSI seems to have decided, in its' infinite wisdom, that reading floats >(as opposed to doubles) is a no-no. Wrong. ANSI scanf accepts %f (float), %lf (double), and %Lf (long double). This is compatible with pre-ANSI usage, of course. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint