[comp.sys.atari.st] %g in Mark Williams C

ger@qtecmuc.UUCP (06/23/87)

Hello everyone,

I'm having a problem with Mark William C Version 1.0.4 on the Atari.
When I use "%g" in format strings for printf, insignificant zeros
are not truncated like K&R demand it. Example:
printf("%g",1.25);
gives me: 1.2500000
Question: Is this fixed in the new 2.0 Version ???
Or have the language specifications changed (new ANSI standard) ???

Gerhard Pehland
UUCP:  ...!seismo!unido!qtecmuc!ger