All of the axis include -0 on the coordinates that show where the player is, but not on the ones that tell you which block the player is looking at.
All of the axis include -0 on the coordinates that show where the player is, but not on the ones that tell you which block the player is looking at.
See MC-36602.
This is how decimal numbers work.