Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Decimal256 #377

Open
thomasj02 opened this issue Jul 10, 2024 · 0 comments
Open

Support Decimal256 #377

thomasj02 opened this issue Jul 10, 2024 · 0 comments

Comments

@thomasj02
Copy link

Clickhouse supports Decimal256, with precision up to 76 (https://clickhouse.com/docs/en/sql-reference/data-types/decimal). However, clickhouse-cpp only supports up to Decimal128.

Abseil doesn't have an int256, but boost::multiprecision does (https://www.boost.org/doc/libs/1_85_0/libs/multiprecision/doc/html/boost_multiprecision/tut/ints/cpp_int.html). There are many other int256 implementations available online, and clang has support for _BitInt(256)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant