Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VAX sin/cos/atan2 vs polyd (Was: Does anyone have a netbsd-5 or earlier VAX to hand?)



On May 28, 2012, at 12:56 PM, George Harvey wrote:

> On Sun, 27 May 2012 20:49:11 +0100
> David Brownlee <abs%NetBSD.org@localhost> wrote:
> 
>> On 27 May 2012 20:40, David Brownlee <abs%netbsd.org@localhost> wrote:
> 
>> Apologies for following up and spamming the list - but does anyone
>> have a netbsd-5 or earlier Rigel, Mariah, or (ideally) NVAX baxed
>> VAX on which they could run the original sintest.c (which just
>> prints out the value of sin(1))
> 
> Works on NetBSD 5.1 (GENERIC) on a MicroVAX 3100/95 (NVAX)
> 
> -bash-2.05b$ cc -Wall -g -o sintest sintest.c  -lm && ./sintest
> test=0.841471

I've fixed the polyf/polyd macros so they work correctly:

matt@simh> LD_LIBRARY_PATH=. ./sintest     
test=0.841471
matt@simh> LD_LIBRARY_PATH=. ldd ./sintest
./sintest:
        -lm.0 => ./libm.so.0
        -lc.12 => /usr/lib/libc.so.12




Home | Main Index | Thread Index | Old Index