csv-compare icon indicating copy to clipboard operation
csv-compare copied to clipboard

NaN and Infinity support

Open alexs1000 opened this issue 5 years ago • 3 comments

Is there any chance that the support for NaN and Infinity will improve in the near future? In the case of NaN an error is thrown, but for Infinity the behavior is different depending where the Infinity is present, in the base.csv or in the to_compare.csv.

alexs1000 avatar Jan 16 '20 15:01 alexs1000

Never notices this "feature" so far. Can you please add the files with Nan or Infinity and what your expectation is for the different use cases.

beutlich avatar Mar 21 '20 15:03 beutlich

Nan_inf_base.txt Nan_inf_compare.txt The expectation would be that the values in the 2 files be compared, even for Infinity or NaN values. So for example, comparing the base file Nan_inf_base with a copy of itself should indicate that there are no differences between the files. On the other hand if there are differences, this should be signaled.

alexs1000 avatar Apr 16 '20 10:04 alexs1000

@beutlich : Is there any hope of this being implemented?

andreas-junghanns avatar Sep 30 '21 11:09 andreas-junghanns