document new exponential function code