On Tue, 26 Feb 2002 14:45 +0000 (GMT)
[EMAIL PROTECTED] (Christopher Cave) wrote:

> Has anyone else tried to use the arc tangent function in SMSQ or 
> in C68? As far as I can see, its marginal behaviour is 
> incorrect. If I enter 'print atan(1,0),atan(0,1)' to SBasic, I 
> expect to get PI/2,0 NOT 0,0. Similar misbehaviour is shown by 
> atan2 in C68 (I suppose this is only a wrapper for the 
> underlying SMSQ module).

AFAIK C68 uses libm for that (source is available).
If FPU is there and fpsave_bin loaded then calculation is done by the CPU.

Claus

Reply via email to