Files
RedBear-OS/tests/math.c
T
2018-03-12 21:55:46 -06:00

10 lines
171 B
C

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