Skip to content

Small doubles are serialized incorrectly by fwrite #2398

@st-pasha

Description

@st-pasha
> # This is correct, up to some unavoidable loss in precision
> data.table(A=1e-323)
               A
1: 9.881313e-324
> # But this is not
> fwrite(data.table(A=1e-323))
A
1.1125369292536e-308

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions