Mail Archives: djgpp/1997/03/06/05:12:45
> 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 <j AT comports DOT com>
>
> "...and the people looked mean."
> -- PHISH from Esther.
>
--
Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de
- Raw text -