protobuf-go/proto
Joe Tsai 6bd33b6e6d proto: equate floating-point NaNs
Treating NaNs as inequal has benefits in mathmetical operations,
but is almost certainly never desired behavior in tests.
Making them equal allows us to document that Equal reports true
if the encoded bytes are also equal (under deterministic marshaling).

Change-Id: Id11c9c1681d8785bcc52f0f42064339194065649
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/186179
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-15 21:36:38 +00:00
..
bench_test.go proto: bench_test fixes 2019-07-09 19:32:32 +00:00
decode_gen.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
decode_test.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
decode.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
doc.go proto, internal/impl: make IsInitialized more consistent 2019-07-09 19:49:22 +00:00
encode_gen.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
encode_test.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
encode.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
equal_test.go proto: equate floating-point NaNs 2019-07-15 21:36:38 +00:00
equal.go proto: equate floating-point NaNs 2019-07-15 21:36:38 +00:00
isinit_test.go proto: move T->*T wrappers from internal/scalar to proto 2019-07-12 17:35:01 +00:00
isinit.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
merge_test.go proto: move T->*T wrappers from internal/scalar to proto 2019-07-12 17:35:01 +00:00
merge.go proto: implement Merge 2019-06-24 22:36:08 +00:00
messageset_test.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
messageset.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
proto_methods.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
proto_reflect.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
proto.go
reset_test.go proto: move T->*T wrappers from internal/scalar to proto 2019-07-12 17:35:01 +00:00
reset.go proto: fix memory aliasing bug in Reset 2019-06-20 19:48:37 +00:00
size_gen.go proto, internal/impl: avoid string->[]byte conversions 2019-06-24 17:41:45 +00:00
size.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
wrappers.go proto: move T->*T wrappers from internal/scalar to proto 2019-07-12 17:35:01 +00:00