ClickHouse/tests/queries/0_stateless/01435_lcm_overflow.sql
Alexey Milovidov 6663f21fdd Fix error
2020-08-08 05:02:36 +03:00

11 lines
320 B
SQL

SELECT lcm(15, 10);
SELECT lcm(-15, 10);
SELECT lcm(15, -10);
SELECT lcm(-15, -10);
-- Implementation specific result on overflow:
SELECT ignore(lcm(256, 9223372036854775807));
SELECT ignore(lcm(256, -9223372036854775807));
SELECT ignore(lcm(-256, 9223372036854775807));
SELECT ignore(lcm(-256, -9223372036854775807));