Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!att!pacbell.com!ames!uhccux!bigtuna!pegasus!tleylan From: tleylan@pegasus.com (Tom Leylan) Newsgroups: comp.lang.c Subject: Re: Turbo C and Clipper Message-ID: <1990Dec9.091532.7016@pegasus.com> Date: 9 Dec 90 09:15:32 GMT References: <1650@ciss.Dayton.NCR.COM> Organization: Pegasus, Honolulu Lines: 24 In article <1650@ciss.Dayton.NCR.COM> dgrimmer@ciss.Dayton.NCR.COM (Dave.Grimmer@Dayton.NCR.COM) writes: > >I am looking for a way to do some trig functions (cos, sin, tan, ...) >from within a CLIPPER application. The version I am using is Summer 87. > >Are there any Clipper libraries around that have the trig functions? > >I have tried writing the function with Turbo C 2.0, but I get 3 unresolved >external references when I link (this works with integer functions, but >I think there is a problem when you use a double data type). Has anyone >written a C function for CLIPPER that uses a double data type? > Dave... Turbo C with Clipper is possible but not recommended. The preferred flavor is MSC 5.1. I use QuickC 2.5 but like Turbo users I am therefore not permitted to use the floating point routines. Probably pretty handy when it comes to trig functions. There is a document on NANFORUM on Compuserve which addresses alternative methods of using floating point but the easiest solution remains using Microsoft C. tom leylan ex-Senior Systems Analyst, Nantucket Corporation (author of "Clipper and QuickC, An End to the Controversy", Nantucket News)