glibc/tests/Sanity/basic-linking-sanity/lm.c
Sergey Kolosov 823c0aee76 CI Tests: add fmf test plan
Resolves: RHEL-65327
2025-01-08 19:01:11 +00:00

14 lines
210 B
C

#include <stdio.h>
#include <math.h>
int main(){
FILE *fp = fopen("lm.out", "w");
double a = pow(10, 2);
fprintf(fp, "POW: %0.2f\n", a);
fprintf(fp, "SIN: %0.2f\n", 1.0);
fclose(fp);
return 0;
}