I'm doing an algorithm that returns a double if the value is proper, is there a constant I can use to indicate the value is an error. The numbers that do properly return can be negative or positive so -1's out. Is there a system independent value that indicates a bad double value?