Unfortunately true, but this is nothing else than bad problem design. Because CG has no tolerance whatsoever on the outputs of classic puzzles and CoC (it does not allow to run a program to parse & check the output, but simply compares two text files), then the floating point outputs should simply always be uniformized to a fixed number of decimals (with a properly specified rounding method).