And tangent
This commit is contained in:
parent
4bca9fd69d
commit
5956361088
1 changed files with 5 additions and 0 deletions
5
math/tan.c
Normal file
5
math/tan.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include <math.h>
|
||||
|
||||
double tan(double x) {
|
||||
return (cos(x - M_PI_2) / cos(x))
|
||||
}
|
Loading…
Reference in a new issue