I want to identify if a variable, which is the result of a calculation, is Indeterminate. I was trying to do this using If[]. For example
p = Log[PDF[NormalDistribution[0, 1], 1000000.]]
If[p==Indeterminate,1,0]
If[p=="Indeterminate",1,0]
But it is not working. Could you please point me to a better strategy?
Indeterminate. – Oleksandr R. Sep 12 '12 at 15:23