FENIX_libc/math/tan.c

5 lines
79 B
C
Raw Normal View History

2022-10-28 04:53:21 +00:00
#include <math.h>
double tan(double x) {
return (cos(x - M_PI_2) / cos(x))
}