I also tested on :
J APL90 Version
1 o. o. 1 => 1.22461e_16

OpenOffice 2 (calc)
sin(3.141592653589793)  =>  1.22460635382238E-16

So that I think J4 (I tested on J4.06d) in fact had a bug and it was fixed in J5

As all tested on the same computer so that "Vagaries in the CPU" can be ruled 
out.

Tonight is full moon (15th in lunar calendar) I might have to run the test again
on 2006-12-20 again to verify the third hypothesis.

Roger Hui wrote:
> Changes in the C library?  Vagaries in the CPU?
> Phase of the moon?
> 
> 
> 
> ----- Original Message -----
> From: Joey K Tuttle <[EMAIL PROTECTED]>
> Date: Friday, December 1, 2006 10:55 am
> Subject: Re: [Jgeneral] Bug?  Sin of pi.
> 
>> At 10:32  -0800 2006/12/01, Roger Hui wrote:
>>> Because
>>>
>>>    1p1 - 3.141592653589793
>>> 0
>>>
>> But, as was pointed out -
>>
>>    9!:14 ''
>> 4.05/2001-05-16/11:30
>>    1 o. 1p1
>> 0
>>    1p1 - 3.141592653589793                        
>> 0
>>
>> I think the question is, what has caused the shift?
>>
>>    9!:14 ''
>> j504/2005-03-16/15:30
>>    1 o. 1p1
>> 1.22461e_16
>>    1p1 - 3.141592653589793
>> 0
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> 


-- 
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to