MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / DecodeFloatDescending

Function DecodeFloatDescending

pkg/util/encoding/float.go:94–97  ·  view source on GitHub ↗

DecodeFloatDescending decodes floats encoded with EncodeFloatDescending.

(buf []byte)

Source from the content-addressed store, hash-verified

92
93// DecodeFloatDescending decodes floats encoded with EncodeFloatDescending.
94func DecodeFloatDescending(buf []byte) ([]byte, float64, error) {
95 b, r, err := DecodeFloatAscending(buf)
96 return b, -r, err
97}

Callers 1

prettyPrintFirstValueFunction · 0.85

Calls 1

DecodeFloatAscendingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…