I'm trying to compute log(exp(x)-exp(y)); since this is not sum anymore, I can't use LogSumExp and things can still get very ugly if exp(x) or exp(y) is large (e.g.) exp(32) or something).
How do I do this more safely?
I'm trying to compute log(exp(x)-exp(y)); since this is not sum anymore, I can't use LogSumExp and things can still get very ugly if exp(x) or exp(y) is large (e.g.) exp(32) or something).
How do I do this more safely?