tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.95k stars 506 forks source link

Negative zero float is encoded equal to zero float (i.e. NULL) #1177

Open HK416-is-all-you-need opened 1 month ago

HK416-is-all-you-need commented 1 month ago

This is because semantically -0.0 is equal to 0.0 even though it differs by sign bits