Article View: comp.sys.atari.st
Article #27351%g in Mark Williams C - (nf)
From: ger
Date: Tue, 23 Jun 1987 12:12
Date: Tue, 23 Jun 1987 12:12
14 lines
903 bytes
903 bytes
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
Technical Details
Message-ID:
<19400006@qtecmuc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!qtecmuc!gerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!unido!qtecmuc!ger From: ger@qtecmuc.UUCP Newsgroups: comp.sys.atari.st Subject: %g in Mark Williams C - (nf) Message-ID: <19400006@qtecmuc.UUCP> Date: Tue, 23-Jun-87 08:12:00 EDT Article-I.D.: qtecmuc.19400006 Posted: Tue Jun 23 08:12:00 1987 Date-Received: Sat, 27-Jun-87 00:51:43 EDT Lines: 14 Nf-ID: #N:qtecmuc:19400006:000:412 Nf-From: qtecmuc!ger Jun 23 13:12:00 1987