FENIX_libc/math/tan.c

5 lines
80 B
C

#include <math.h>
double tan(double x) {
return (cos(x - M_PI_2) / cos(x));
}