What is the output of the following C program?
#include <math.h>
#include <stdio.h>
int main(void) {
printf("%.0f %.0f %.1f\n", pow(3, 4), sqrt(169), fabs(-0.5));
printf("%.1f %.1f\n", ceil(-2.5), floor(-2.5));
return 0;
}
ceil rounds toward +∞ (−2.0) and floor toward −∞ (−3.0), also for negative numbers.