10 100 100 1000 30000000000 arg u8 u16 u32 u64 i8 i16 i32 i64 f32 f64 op plus minus multiply divide intDivOrZero moduloOrZero CREATE TABLE nums ENGINE Memory AS WITH number as x SELECT toUInt8(x) u8, toUInt16(x) u16, toUInt32(x) u32, toUInt64(x) u64, toInt8(x) i8, toInt16(x) i16, toInt32(x) i32, toInt64(x) i64, toFloat32(x) f32, toFloat64(x) f64 FROM numbers_mt(200000000) SETTINGS max_threads = 4 ; SELECT count() FROM nums WHERE NOT ignore( {op}({arg}, {arg}), {op}({arg}, {arg} + 1), {op}({arg}, {arg} + 2), {op}({arg}, {arg} + 3), {op}({arg}, {arg} + 4), {op}({arg}, {arg} + 5), {op}({arg}, {arg} + 6), {op}({arg}, {arg} + 7) ) DROP TABLE nums