MCPcopy
hub / github.com/protocolbuffers/protobuf-go / equalFloat64

Function equalFloat64

testing/protocmp/util.go:406–408  ·  view source on GitHub ↗
(x, y float64)

Source from the content-addressed store, hash-verified

404}
405
406func equalFloat64(x, y float64) bool {
407 return x == y || (math.IsNaN(x) && math.IsNaN(y))
408}
409
410// IgnoreEmptyMessages ignores messages that are empty or unpopulated.
411// It applies to standalone [Message] values, singular message fields,

Callers 1

isDefaultScalarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected