Files
RedBear-OS/tests/math.c
T
2018-03-11 21:20:56 -06:00

9 lines
157 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);
}