freebsd-ports/graphics/flam3/files/sincos.c
Yuri Victorovich a66b1d72db graphics/flam3: Update 2.7.18 -> 3.1.1-5
Port changes:
* Use DISTVERSION
* Change to github
* Update COMMENT
* Add LICENSE/LICENSE_FILE
* Change to shared library
* Add the ad-hoc implemantation for sincos linuxism

PR:		229193
Approved by:	maintainer's timeout (john.c.prather@gmail.com; 25 days)
2018-07-16 18:28:17 +00:00

6 lines
97 B
C

#include <math.h>
void sincos(double x, double *s, double *c) {
*s = sin(x);
*c = cos(x);
}