The test field_assign_proto3_round_to_zero checks that the float -0.0 is sent back. Distinguishing between this and 0.0 is, as far as I know, not something that the proto serializers of all languages do (for example, see Java: https://github.com/protocolbuffers/protobuf/issues/7062).
The test
field_assign_proto3_round_to_zero
checks that the float-0.0
is sent back. Distinguishing between this and 0.0 is, as far as I know, not something that the proto serializers of all languages do (for example, see Java: https://github.com/protocolbuffers/protobuf/issues/7062).