MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / EncodeFloatDesc

Function EncodeFloatDesc

tidbparser/dependency/util/codec/float.go:56–59  ·  view source on GitHub ↗

EncodeFloatDesc encodes a float v into a byte slice which can be sorted lexicographically later. EncodeFloatDesc guarantees that the encoded value is in descending order for comparison.

(b []byte, v float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

encodeFloatToCmpUint64Function · 0.85
EncodeUintDescFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…