MCPcopy Create free account
hub / github.com/google/gapid / F32

Method F32

gapis/memory/decoder.go:75–78  ·  view source on GitHub ↗

F32 loads and returns a float32.

()

Source from the content-addressed store, hash-verified

73
74// F32 loads and returns a float32.
75func (d *Decoder) F32() float32 {
76 d.alignAndOffset(d.m.F32)
77 return d.r.Float32()
78}
79
80// F64 loads and returns a float64.
81func (d *Decoder) F64() float64 {

Callers 5

decodeFunction · 0.45
encodeFunction · 0.45
TestPush_FloatNoExpandFunction · 0.45
TestPush_FloatOneExpandFunction · 0.45
initFunction · 0.45

Calls 2

alignAndOffsetMethod · 0.95
Float32Method · 0.65

Tested by 2

TestPush_FloatNoExpandFunction · 0.36
TestPush_FloatOneExpandFunction · 0.36