Why `GO` integer `uint32` numbers are not equal after being converted to `float32`
Why is the float32 integer part inconsistent with the original uint32 integer part after uint32 integer is converted to float32, but the float64 integer part is consistent with the original uint32 after converting it to float64. import ( "fmt" ) const ( deadbeef = 0xdeadbeef aa = uint32(deadbeef) bb = float32(deadbeef) ) func main() {… Read More Why `GO` integer `uint32` numbers are not equal after being converted to `float32`