pae%helens%sumex-aim@sri-unix.UUCP (06/30/83)
The math library /usr/lib/libnm.a & /usr/src/lib/libnm which came with our 4.1 system (and is much faster than the C version in /usr/lib/libm.a) has some register trashing bugs in atan2, asin, & acos. Specifically, the register save masks at the begining of the routines are wrong and atan2 trashes r4 & r5, asin & acos trashes r8 & r9. This tends to show up as C register variables getting myteriously trashed in routines which may be many levels removed the one calling these trig functions. -Peter Eichenberger