bug-datamash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-datamash] negative modes


From: Renan Valieris
Subject: [Bug-datamash] negative modes
Date: Wed, 13 Mar 2019 19:16:34 -0000


Hello, looks like datamash doesn't deal with negative modes correctly:

$ datamash --version
datamash (GNU datamash) 1.4

$ echo 1 | datamash mode 1
1

$ echo -1 | datamash mode 1
1.844674407371e+19


looks like the code assumes mode is always positive and the number is stored as unsigned (!?)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]