From: Christoph Kukulies Message-Id: <199703061007.LAA08442@gilberto.physik.rwth-aachen.de> Subject: Re: sin & cos functions? In-Reply-To: <331E6B93.3B63@comports.com> from J at "Mar 6, 97 02:00:38 am" To: j AT comports DOT com Date: Thu, 6 Mar 1997 11:07:32 +0100 (MET) Cc: djgpp AT delorie DOT com Reply-To: Christoph Kukulies MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Anyone got a library that defines sin (sine) and cos (cosine) functions? What is the problem with using libm.a (-lm) ? Or, if you have a FPU use cc -S -O2 -ffast-math -mfancy-math-387 -m486 c.c which produces in line fsin instructions for the FPU. (Don't know if djgpp has the fancy-math-387 option - at least this applies for gcc-2.7.1 under FreeBSD and probably linux) > > If so, please e-mail me the appropriate includes and source code. > > thanks, > -- > J > > "...and the people looked mean." > -- PHISH from Esther. > -- Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de