ftp.delorie.com/archives/browse.cgi | search |
Date: | Tue, 7 Feb 1995 02:51:44 -0400 (AST) |
From: | Bill Davidson <bdavidson AT ra DOT isisnet DOT com> |
Subject: | Re: DJGPP Floating Point Problem |
To: | haltmaye AT mathpool DOT uni-augsburg DOT de |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu, gnewman AT world DOT std DOT com |
On Tue, 7 Feb 1995 haltmaye AT mathpool DOT uni-augsburg DOT de wrote: > Format %f in printf expects a float while 100.0 is a double number. > Try %lf or %g. > > Martin > No, %f means double. Small l is not valid for f; big L means long double. Using %f, floats get promoted to double.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |