*BSD News Article 39512


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!paperboy.wellfleet.com!noc.near.net!shore.shore.net!rwwa.com!witr
From: witr@rwwa.com (Robert Withrow)
Newsgroups: comp.os.386bsd.bugs
Subject: Bug in FBSD 2.0 C Standard Library
Date: 15 Dec 1994 15:50:47 GMT
Organization: North Shore Access/Eco Software, Inc; (info@shore.net)
Lines: 25
Distribution: world
Message-ID: <3cpokn$noq@shore.shore.net>
Reply-To: witr@rwwa.com
NNTP-Posting-Host: rwwa.com

This bug has been reported to the developers...

The program:

#include <stdio.h>
main()
{
  printf("%.4e %.4f %.4g\n", 0.0, 0.0, 0.0);
}

Prints (on 2.0)

0e+00 0.0000 0

it should print (as 1.1.5.1 does):

0.0000e+00 0.0000 0

There are a number of other problems performing e, f, and g type conversions.

This shows up on the tests for tcl, for example.

-- 
 Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430
 R.W. Withrow Associates, 319 Lynnway, Lynn MA 01901 USA, Net: witr@rwwa.COM