Skip to content

Ensure rounding errors don't make unquantized values too big#4777

Open
AnyOldName3 wants to merge 1 commit intobulletphysics:masterfrom
AnyOldName3:quantization-round-trip
Open

Ensure rounding errors don't make unquantized values too big#4777
AnyOldName3 wants to merge 1 commit intobulletphysics:masterfrom
AnyOldName3:quantization-round-trip

Conversation

@AnyOldName3
Copy link
Copy Markdown
Contributor

Potential fix for #4768

Floating point maths doesn't guarantee that quantizing and dequantizing a value will give the same value, even when it started as the extreme of the quantization range and therefore doesn't lose any precision from the quantization itself. Despite that, there are assertions in Bullet that fail when it doesn't happen.

Example values that demonstrate this are given in the linked issue.

This doesn't appear to be quite the same problem as DEBUG_CHECK_DEQUANTIZATION checks for.

Potential fix for bulletphysics#4768

Floating point maths doesn't guarantee that quantizing and dequantizing a value will give the same value, even when it started as the extreme of the quantization range and therefore doesn't lose any precision from the quantization itself.

Example values that demonstrate this are given in the linked issue.

This doesn't appear to be quite the same problem as DEBUG_CHECK_DEQUANTIZATION checks for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant