MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / joinDifferentSignIntegrals

Function joinDifferentSignIntegrals

src/common/types/types.cpp:1636–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1634}
1635
1636static LogicalTypeID joinDifferentSignIntegrals(const LogicalTypeID& signedType,
1637 const LogicalTypeID& unsignedType) {
1638 auto unsignedToSigned = LogicalTypeID::ANY;
1639 if (!tryUnsignedToSigned(unsignedType, unsignedToSigned)) {
1640 return LogicalTypeID::DOUBLE;
1641 } else {
1642 return joinToWiderType(signedType, unsignedToSigned);
1643 }
1644}
1645
1646static uint32_t internalTimeOrder(const LogicalTypeID& type) {
1647 switch (type) {

Callers 1

Calls 2

tryUnsignedToSignedFunction · 0.85
joinToWiderTypeFunction · 0.85

Tested by

no test coverage detected