MCPcopy Create free account
hub / github.com/brimdata/super / IsSigned

Function IsSigned

type.go:177–179  ·  view source on GitHub ↗

True iff the type id is encoded as a number encoding and is signed.

(id int)

Source from the content-addressed store, hash-verified

175
176// True iff the type id is encoded as a number encoding and is signed.
177func IsSigned(id int) bool {
178 return id >= IDInt8 && id <= IDTime
179}
180
181// True iff the type id is encoded as a number encoding and is unsigned.
182func IsUnsigned(id int) bool {

Callers 15

NewConstFromValueFunction · 0.92
semOpMethod · 0.92
indexRecordFunction · 0.92
evalMethod · 0.92
intMaskMethod · 0.92
CallMethod · 0.92
constToNumericFunction · 0.92
castToNumberFunction · 0.92
castStringToNumberFunction · 0.92
sortStableIndicesMethod · 0.92
TestArithmeticFunction · 0.92
compareNumbersFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestArithmeticFunction · 0.74