Subject: Re: PERL and NetBSD 1.3_ALPHA
To: Giles Lean <giles@nemeton.com.au>
From: Colin Wood <cwood@ichips.intel.com>
List: current-users
Date: 11/11/1997 09:55:07
Giles Lean wrote:
> 
> OK, I've now got some C code with a wrong answer.  I'll send-pr
> this later unless someone tells me it is obviously off the wall.
> 
> 	#include <math.h>
> 	#include <stdio.h>
> 	#include <stdlib.h>
> 
> 	int
> 	main()
> 	{
> 		printf("%.15f\n", atan2(1, 1.2));
> 		exit(0);
> 	}
> 
> This code produces:
> 
> 0.785398163397448 on 1.3_ALPHA with the broken library
> 0.694738276196703 on 1.1

I tried this on mac68k.  I get:

0.694738276196703

This is a 1.2G system running with a libm.so.0.1 compiled in mid-July.
So, I would assume that whatever is wrong occured fairly recently?

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.