added bigfloat constants for e and pi and added a time function which returns a time string (via ctime_r) by default, and raw time if given a non-null argument