x The logarithm of the argument (in the appropriate base). -HUGE_VAL x is 0 (errno is set to ERANGE), or x is negative (errno is set to EDOM). NaN x is NaN; errno is set to EDOM.