Magic values are a bit of a pain to handle and are not safe. This patch...
Magic values are a bit of a pain to handle and are not safe. This patch removes the use of magic values and rather replaces them with NaN whenever appropriate. The logic of the input file stays the same but the magic values are converted internally after reading it so that the rest of the code does not have to deal with that.
Showing with 66 additions and 70 deletions