Skip to content

Bad precision when insert double in scientific notation #1206

Closed

Description

@StarWix

CREATE TABLE test(x Float64) ENGINE = Log

INSERT INTO test VALUES(10000000)

┌────────x─┐
│ 10000000 │
└──────────┘

INSERT INTO test VALUES(1e7)

┌─────────────────x─┐
│ 9999999.999999998 │
└───────────────────┘

Activity

  1. added
    bug
    on Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions