Commit Graph

45 Commits

Author SHA1 Message Date
Dao a79fee5b40 Merge branch 'fix-clang13' into 'cnch-ce-merge'
fix(clickhousech@m-15952761): Fix clang13

See merge request dp/ClickHouse!16017
# Conflicts:
#	base/daemon/BaseDaemon.cpp
#	docker/packager/binary/Dockerfile
2023-10-31 15:07:41 +08:00
ducle.canh 27964cae1b remove empty line 2023-01-06 18:41:25 +08:00
ducle.canh 4e7dd0798d update copyright and license 2023-01-06 18:32:51 +08:00
ducle.canh 1bcc5a03ed update copyright and license 2023-01-06 18:27:24 +08:00
ducle.canh 2e549a3c4f update copyright and license 2023-01-06 12:03:41 +08:00
ducle.canh b8c76c1aab initial commit 2023-01-05 14:19:18 +08:00
Alexey Milovidov db78a424aa Fix UBSan report 2021-06-15 06:52:49 +03:00
Alexey Milovidov b9b01df125 Fix wrong code in wide_int 2021-06-15 03:29:20 +03:00
Alexey Milovidov 133db29a1d Remove some code 2021-05-08 17:12:26 +03:00
Alexey Milovidov a3287565dd Fix ugly typo 2021-05-08 01:22:07 +03:00
Alexey Milovidov 771ac5b47a Speedup division 2021-05-08 01:07:57 +03:00
Alexey Milovidov 4fee87f382 Fix division of big integers; add a test 2021-05-08 00:47:23 +03:00
Alexey Milovidov f78c3bdceb Remove unused headers 2021-05-07 20:13:00 +03:00
Alexey Milovidov d74ae060d5 Supposedly fix error with shifts; add a test 2021-05-07 20:12:14 +03:00
Alexey Milovidov 46e0446c0e Style 2021-05-07 04:48:23 +03:00
Alexey Milovidov f0b63e562f Fix error 2021-05-07 00:04:47 +03:00
Alexey Milovidov 564fa5e539 Little better 2021-05-06 19:53:22 +03:00
Alexey Milovidov f0a2e7b63a Minor edits 2021-05-06 19:35:08 +03:00
Alexey Milovidov e5b262b89c Fix error in wide_integer implementation 2021-05-06 03:06:24 +03:00
Alexey Milovidov 51ad3c7d81 Add more tests 2021-05-06 00:20:55 +03:00
Alexey Milovidov 5f240ca25c Fixed error; add a test 2021-05-05 23:56:44 +03:00
Alexey Milovidov 1f50360c8f Fix wrong code (amend) 2021-05-05 20:25:53 +03:00
Alexey Milovidov a1cc3640a0 Fix error in wide integer <-> integer conversions 2021-05-05 14:53:40 +03:00
Alexey Milovidov 27d85619e1 Fix OpenTelemetry 2021-05-05 01:42:14 +03:00
Alexey Milovidov 53212cd00f Fix abysmally low performance 2021-05-03 22:56:40 +03:00
Alexey Milovidov acf98d1a3a Attempt to normalize big integers 2021-04-25 12:30:43 +03:00
Alexey Milovidov ce4e656e8f Merge branch 'master' into normalize-bigint 2021-04-25 06:57:44 +03:00
changvvb bba600d558 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-03-16 13:26:00 +08:00
changvvb fcb238715b Support apple m1 2021-03-12 01:12:52 +08:00
Yatsishin Ilya 7b69ef92be gcc old cast check failed 2021-03-10 18:04:34 +03:00
Yatsishin Ilya 71d745b4ec implicit const conversion 2021-03-09 17:31:54 +03:00
Alexey Milovidov 093108bf81 Normalize BigInt implementation 2021-01-27 03:54:57 +03:00
alexey-milovidov b932b984a0
Update wide_integer_impl.h 2020-12-21 04:02:49 +03:00
alexey-milovidov 55ed2ab563
Update wide_integer_impl.h 2020-12-20 09:46:43 +03:00
alexey-milovidov 0d7e27d93f
Merge branch 'master' into fix 2020-12-14 23:02:14 +03:00
PHO d014ac4ce2 Provide a default constructor for wide::integer
The implicit one provided by compiler does not initialize its member
variable "items" because it's a POD array. GCC emits a warning about this.
2020-12-07 16:00:32 +03:00
alexey-milovidov d3b10c91f0
Update wide_integer_impl.h 2020-11-26 08:03:54 +03:00
fenglv 615287ae75 Avoid bigint_cast stack overflow 2020-11-22 03:42:16 +00:00
myrrc 2430d9d20d fixed the UB when casting from double to int64_t
Corresponding upstream fix: https://github.com/cerevra/int/pull/24
2020-11-13 18:13:15 +03:00
Alexey Milovidov 269b6383f5 Check for #pragma once in headers 2020-10-10 21:37:02 +03:00
Artem Zuikov 4fd1db73a1
Faster 256-bit multiplication (#15418) 2020-09-29 20:52:34 +03:00
Artem Zuikov b4f1eb07ff
slightly better bigint plus/minus (#15320) 2020-09-28 12:07:45 +03:00
Artem Zuikov 0520b05001
Speedup wide integers (#14859) 2020-09-18 12:51:44 +03:00
Artem Zuikov d274125c74
Fix wide integer left shift + refactoring (#14697) 2020-09-14 14:56:43 +03:00
Artem Zuikov 7c20aa2c62
Another 256-bit integers (strict 32 bytes) (#14229) 2020-09-04 16:33:02 +03:00