This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printf with long double


On Wednesday 15 January 2003 08:37, Adrian Sandor wrote:
> Hello
>
> I am using dev-c++ with mingw and gcc 3.2 (on
> windows); I tried to display a long double using
> printf("%Lf", value) and the result was totally
> screwed up. I tested it with gcc 3.1 on another
> platform and it worked fine. I'd like to know what I
> can do to solve the problem.
>
> thanks,
> Adrian
You'll probably have to write your own printf() extensions.  gcc doesn't take 
responsibility for whose printf() you choose, and Windows printf() libraries 
typically don't support long double.  
-- 
Tim Prince


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]