log - Calculates natural logarithm for the value in C

#include <math.h>
#include <stdio.h>

int main(void)
{
    double val = 12.0;
    printf("%f %f\n", val, log(val));

    return 0;
}

Output : 2.484907