Files
RedBear-OS/tests/math.c
T
2019-02-20 19:27:18 +01:00

10 lines
153 B
C

#include <math.h>
#include <stdio.h>
int main(void) {
double pi = 3.14;
float c = cos(pi);
printf("cos(%f) = %f\n", pi, c);
return 0;
}