Analytic functions with blackbody

See #3077 
I'm not sure it needs to be a parameter, but I do think it is fine to capture overflow in the exponent -- the answer is known in this case and I think the warning to the user would be somewhat gratuitous. Arguably, though, only the call to the exponent should be done in the context manager.