Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix-wizards Subject: Bug in 4.1BSD C library "printf" (actually _doprnt) Message-ID: <1588@umcp-cs.UUCP> Date: Sun, 7-Aug-83 07:11:24 EDT Article-I.D.: umcp-cs.1588 Posted: Sun Aug 7 07:11:24 1983 Date-Received: Sun, 7-Aug-83 17:53:23 EDT Organization: Univ. of Maryland, Computer Science Dept. Lines: 14 There seems to be a bug in the floating point conversion routines for printf. Specifically, I've seen a "%1.0f" format generate "10" several times. I suspect this happens when 9. gets rounded up. Has anyone else seen this bug? Does anyone have a fix? (Vax assembly -- especially floating point -- is not my forte.) - Chris -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@UDel-Relay