MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / typeIsSigned

Function typeIsSigned

src/DataTypes/Native.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30bool typeIsSigned(const IDataType & type)
31{
32 WhichDataType data_type(type);
33 return data_type.isInt() || data_type.isFloat() || data_type.isEnum() || data_type.isDate32() || data_type.isDecimal()
34 || data_type.isDateTime64();
35}
36
37llvm::Type * toNullableType(llvm::IRBuilderBase & builder, llvm::Type * type)
38{

Callers 2

nativeCastFunction · 0.85

Calls 6

isIntMethod · 0.80
isFloatMethod · 0.80
isEnumMethod · 0.80
isDate32Method · 0.80
isDateTime64Method · 0.80
isDecimalMethod · 0.45

Tested by

no test coverage detected