Port-vax archive

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

Does anyone have a netbsd-5 or earlier VAX to hand?



If so, could they run this and check the output?

Its crashing under NetBSD/current  6.99.7 in
lib/libm/arch/vax/n_argred.S, and I'm just curious when it
started being an issue - of if NetBSD/vax has never been
able to calculate the sin of 1 :)


/* sintest.c: output sin(1) - crashing on NetBSD/vax current
  cc -Wall -g -o sintest sintest.c  -lm && ./sintest
*/
#include <math.h>
#include <stdio.h>

int main()
{
    double test = sin((double)1);
    printf("test=%lf\n", test);
    return 0;
}


Home | Main Index | Thread Index | Old Index