Path: utzoo!utgpu!watmath!clyde!att!ucbvax!SUN.COM!bvs From: bvs@SUN.COM (Bruce Schwartz) Newsgroups: comp.windows.news Subject: Re: problems with NeWS stuff on SUG tape Message-ID: <8812091743.AA05567@carlisle.> Date: 9 Dec 88 22:56:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 34 Also, Bruce Schwartz's NewsDraw program fails to link on our SunOS 3.4 system. The unresolved reference is to sincos. Because sincos is no doubt in the SunOS 4.0 math library, can someone please send me a description of what it does. Sorry about that, sincos is as optimization. From the 4.0 man pages: #includedouble sin(x) double x; double cos(x) double x; void sincos(x, s, c) double x, *s, *c; Note that sincos(x,s,c) allows simultaneous computation of *s = sin(x) and *c = cos(x). I believe that a #define sincos(x,s,c) { *s = sin(x); *c = cos(x); } in one of the .h files will fix your problem. I'll be posting NewsDraw as well as a few of other programs: a new version of the class browser, an interactive lockscreen, a granite desktop, and NewsLine (a modified psview set up to view the Sun Porting Reference Guide). I could post the .ps files of the Guide (they're on the SUG tape too), but it's about 700k. Anyone have any ideas on how to post that? Bruce Schwartz