Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!henry!hairston From: hairston@henry.ece.cmu.edu (David Hairston) Newsgroups: comp.sys.mac.programmer Subject: Re: Math in Think C 4.0 Message-ID: Date: 14 Jan 91 04:28:29 GMT References: <1991Jan14.025713.21685@agate.berkeley.edu> Organization: Gaia II Lines: 16 In-reply-to: c60b-4av@web-4f.berkeley.edu's message of 14 Jan 91 02:57:13 GMT [c60b-4av@web-4f.berkeley.edu (Gary Arnold) writes:] [] ... What I want to know is this: What are the [] sine, cosine, tangent, etc. commands in Think C w/o using the math.h [] library? read the math.h file (and related header files). duplicate the declarations needed to implement sin and cos, etc. in your program and you can avoid having to load the library. if you have a FPU and know that your code will only run on machines with a FPU you can enable that option (losing some precision). its been awhile since i tried this but i don't think i left anything out. (i hope you're not a novice novice ... ;) -dave- hairston@henry.ece.cmu.edu