Skip to content

Differences in floating point precision representation causing unexpected search results #685

@maryjgoldman

Description

@maryjgoldman

We hold floating point numbers in the browser as 64bit but we never show that to the user. We always round to 4 significant digits, including in the downloads offered outside the hub downloads. However, we do use the more precise number when searching for samples.

What this means is that sometimes a sample is expected to be included but is actually not included due to rounding
Screenshot 2024-12-19 at 4 03 29 PM

https://xenabrowser.net/?bookmark=92f8094adc2f89d0d0c4ac5bddbf8176

A potentially easy solution is to offer the more precise floating points for download from the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions