Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!uakari.primate.wisc.edu!samsung!munnari.oz.au!csc!rsc503 From: rsc503@csc.anu.oz Newsgroups: comp.databases Subject: Trig functions in dBase/Clipper Message-ID: <2597.26b96f8c@csc.anu.oz> Date: 3 Aug 90 12:35:24 GMT Organization: Computer Services, Australian National University Lines: 23 A friend of mine is writing some software in dBase III to be compiled with Clipper. He requires some trig functions (sin and arccos) which dBase apparently doesn't offer, and he thinks the easiest way to do it is to write trivial C functions which Clipper can call. As I have zero experience with C, I was wondering whether someone could email to me the source code and object files for two functions, called say sine(x) and invcos(x) which would not return a value but would pass the sin and arccos of x, ie the value of x on return would be the result. Some advice as to whether this is the best way to solve the problem would also be appreciated. Many thanks... Ian Gentle igentle@rsc0.anu.oz.au Research School of Chemistry Australian National University Canberra ACT 2601 Australia