This post lists the important functions available in the “math.h” library of C with their examples. Before continuing, you must know that we need to include the “math.h” library while compiling our program by using -lm ($cc -c filename.c $cc -o filename filename.c -lm). Function Description Example sqrt(x) square root of x sqrt(4.0) is 2.0 sqrt(10.0) is 3.162278 exp(x) exponential (ex) ...
EST 102 Programming in C Theory and Lab-KTU FIRST YEAR 2019 scheme - Dr.Binu V P, 9847390760