Skip to content

Floating point numbers are not processed correctly, resulting in worthless output data.  #1

@Nagorak

Description

@Nagorak

I am trying to recover data from a Wahoo Fitness database, which includes a large number of floating point data entries. Unfortunately, it appears that floating point numbers are not being processed correctly by the program, resulting in all export data of that type being pegged to the following values: 1056964608.000000, 1090519040.000000, 1073741824.000000, 3238002687.000000. These same values repeat over and over again, regardless of the input values, suggesting the variable holding the data is either getting saturated, or some sort of error is occurring during type conversion.

I have run the program against a known good database, in order to demonstrate the difference between the input values and the values that are actually exported. Below is a segment of the database shown in a SQLite viewer, and that same segment of data after being exported by Undark, shown in Excel (a bit easier to read), and in raw text in Notepad (no formatting).

From the Notepad output you can see that the program is correctly recognizing the data format as double, and trying to output it in that format, but the actual value is maxed out and ends up being worthless.

sqlite input data
undark output- excel
undark output- text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions