x = log(1); // x is now 0 x = log(2.178); // x is now 1 (2.178 is an approximation to the constant e).