glibc/tests/Sanity/basic-linking-sanity/lm.c
Sergey Kolosov ab4bc8a24e Extend the test coverage
Move some of the RHEL QE testcases upstream to Fedora.
2022-05-31 09:29:27 +02:00

14 lines
209 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);
close(fp);
return 0;
}