I have the following codes. Naturally, I expect to get zero. I thought it is due to some possible issues stated as "Machine-precision inputs can give numerically wrong answers on branch cuts:".
In:= w0 /. iNputIsoDaMax3Ethanol Out= 1.19498 In:= fool[q_?NumericQ, p_?NumericQ] := Log[q/p] In:= fool[w0, w0] /. iNputIsoDaMax3Ethanol Out= -1.11022*10^-16
How can I code so that it gives 0 when the inputs are same within some precision.