I have two Gaussian functions for which certain values I am dividing then using the resulting values for if-else statements and integration. As both go to 0 fairly quickly, I eventually get 0/0 which R retus as NaN. This yields errors in the code. Aside from getting greater precision from say Rmpfr, I was wondering how one might go about dealing with stuff that results in 0/0 or NaN.
