You can blame J primitives for problems in your application
if you want, but if the J implementation does the same
regarding errors in C compilers, the number of errors 
in the implementation would be legend.

I don't remember what exactly are your complaints
with ":, but at least one item was an extension that you
argued should be there but which I declined to implement.



----- Original Message -----
From: Henry Rich <henryhr...@nc.rr.com>
Date: Sunday, March 7, 2010 17:01
Subject: Re: [Jprogramming] Bug in printf utility
To: Programming forum <programming@jsoftware.com>

> The problem with fixing it is that ": in J6.01 and later does 
> not 
> conform to the Dictionary.  I don't want to change printf 
> until the 
> Dictionary and the implementation agree (or there has been a 
> pronouncement on which one is incorrect).
> 
> Henry Rich
> 
> Tom Arneson wrote:
> > This is my second try to get the 'e' format fixed in printf.
> > 
> >  
> > 
> > Here's the problem:
> > 
> >  
> > 
> > NB. ----------------------------------
> > 
> >    JVERSION
> > 
> > Installer: j602a_win.exe
> > 
> > Engine: j602/2008-03-03/16:45
> > 
> > Library: 6.02.050
> > 
> >  
> > 
> > Load 'printf'
> > 
> >  
> > 
> >    '%0.4e' sprintf 3.14
> > 
> > .1400e0
> > 
> >  
> > 
> >    '%0.4e' sprintf _3.14
> > 
> > 3.1400e0
> > 
> >  
> > 
> >    '%0.4g' sprintf 3.14%1e6
> > 
> > .1400e-6
> > 
> >  
> > 
> > NB. The first digit of a scientific format is dropped.
> > 
> >  
> > 
> > NB. ------ end J ----------------------------
> > 
> >  
> > 
> > This utility must not be used by many, and I've switched to 
> the 8!: family
> > for most of my formatting, but it is in the main folder, and 
> should work
> > properly, or be removed from the J distribution.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to