Message-ID: <3891FE57.4CF3CF64@ou.edu> From: David Cleaver X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: newbee: sin & cos? References: <38927312 DOT 547FADCF AT rug DOT ac DOT be> <3891F811 DOT 57B6B0BD AT geocities DOT com> <3892791C DOT BB63F17 AT rug DOT ac DOT be> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 60 Date: Fri, 28 Jan 2000 14:38:47 -0600 NNTP-Posting-Host: 129.15.140.115 X-Complaints-To: usenet AT ou DOT edu X-Trace: news.ou.edu 949091856 129.15.140.115 (Fri, 28 Jan 2000 14:37:36 CST) NNTP-Posting-Date: Fri, 28 Jan 2000 14:37:36 CST Organization: The University of Oklahoma To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Actually it is in , NOT in . I've pasted below some of the functions found in math.h: double acos(double _x); double asin(double _x); double atan(double _x); double atan2(double _y, double _x); double ceil(double _x); double cos(double _x); double cosh(double _x); double sin(double _x); double sinh(double _x); double sqrt(double _x); double tan(double _x); double tanh(double _x); You get the picture. Hope this helps... -David C. Bram de Greve wrote: > > is atn (arctan, bgtg, atan, tan^(-1) or whatever) there too? > > Sahab Yazdani wrote: > > > all of those functions are in the dos.h file, so to use them you would: > > > > #include > > > > void main() { > > foo = sin( angle ); > > foo2 = cos( angle ); > > } > > > > Bram de Greve wrote: > > > > > > Hi, > > > > > > I'm new in djgpp and I have a big problem: > > > WHAT HAPPENED TO SIN & COS IN C++? > > > I'm mean, where can I find sin, cos and atn? > > > > > > It would be very pleasant if I could use those fellows without > > > having to define it myself (yes, you can do that, with Taylor :) > > > > > > Thanks in advance, > > > Bram de Greve > > > > -- > > *********************************************************** > > * Sahab Yazdani * "We are all who we are, no more and no * > > * Thornhill S.S * less" - al'Lan Mandragoran * > > *********************************************************** > > * http://pheonixware.8m.com/ * > > ***********************************************************