Thanks for the replies. I don't have a computer at hand now but I will check this tomorrow.
--- Original Message --- From: "Rob Hodgkinson" <[email protected]> Sent: January 29, 2015 9:05 PM To: [email protected] Subject: Re: [Jprogramming] 3!:5 loses accuracy John, check Print Precision affecting your output … 9!:10 (8) NB: Default is 6 significant figures 6 9!:11 (8) NB: Change to 8 sig figs 9!:10 ‘’ NB: Check 8 e d 3.434345 3.434345 Rob > On 29 Jan 2015, at 10:43 pm, Jon Hough <[email protected]> wrote: > > I'm not sure what the cause of this is, or what the solution is: > > d =: 2& (3!:5) > > > > e =: _2&(3!:5) > > > > e d 3.434345 > > > The result is: 3.43434 > > > My float was truncated, losing my final 5. > (I'm working on a 64-bit Mac) > > > Any hints about what's going on appreciated. > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
