-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix unicsv reader truncation differences on i386/debian:sid
with 1.9.0 debian had some test failures on i386. in the unicsv test with reference unicsv_subsecond.csv 13:20:20.060 was echoed as 13:20:20.059. 13:20:21.600 was echoed as 13:20:21.599. These variations aren't serious, but this PR uses an integer arithmetic conversion instead of a floating point arithmetic to avoid any variation in the intentional truncation to milliseconds.
- Loading branch information
Showing
4 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
No,Latitude,Longitude,Name,Date,Time | ||
1,33.784801,-117.474350,"WPT001",2014/09/17,13:20:20.004 | ||
2,33.784801,-117.474342,"WPT002",2014/09/17,13:20:20.060 | ||
3,33.784801,-117.474342,"WPT003",2014/09/17,13:20:20.800 | ||
4,33.784801,-117.474342,"WPT004",2014/09/17,13:20:21 | ||
5,33.784801,-117.474342,"WPT005",2014/09/17,13:20:21.200 | ||
6,33.784801,-117.474335,"WPT006",2014/09/17,13:20:21.400 | ||
7,33.784801,-117.474335,"WPT007",2014/09/17,13:20:21.600 | ||
8,33.784801,-117.474335,"WPT008",2014/09/17,13:20:21.800 | ||
9,33.784805,-117.474327,"WPT009",2014/09/17,13:20:22 | ||
10,33.784805,-117.474327,"WPT010",2014/09/17,13:20:22.200 | ||
11,33.784805,-117.474327,"WPT011",2014/09/17,13:20:22.400 | ||
12,33.784805,-117.474327,"WPT012",2014/09/17,13:20:23.699 | ||
13,33.784805,-117.474327,"WPT013",2014/09/17,13:20:23.690 | ||
14,33.784805,-117.474327,"WPT014",2014/09/17,13:20:23.600 | ||
15,33.784805,-117.474327,"WPT015",2014/09/17,13:20:23 | ||
16,33.784805,-117.474327,"WPT016",2014/09/17,13:20:23 | ||
17,33.784805,-117.474327,"WPT017",2014/09/17,13:20:23.690 | ||
18,33.784805,-117.474327,"WPT018",2014/09/17,13:20:23.699 | ||
19,33.784805,-117.474327,"WPT019",2014/09/17,13:20:23.699 | ||
20,33.784805,-117.474327,"WPT020",2014/09/17,13:20:23.699 | ||
21,33.784805,-117.474327,"WPT021",2014/09/17,13:20:23.699 | ||
22,33.784805,-117.474327,"WPT022",2014/09/17,13:20:23.699 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters