Use _BitScanForward and _BitScanReverse so x86 builds still compile #7896
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Use _BitScanForward and _BitScanReverse so x86 builds still compile
More precisely, avoid using _BitScanForward64 and _BitScanReverse64 since they do not exist in the x86 compiler intrinsics.
https://learn.microsoft.com/en-us/cpp/intrinsics/bitscanforward-bitscanforward64?view=msvc-170
Avoids these compiler errors:
CGAL\include\CGAL/cpp_float.h(30): error C3861: '_BitScanForward64': identifier not found
CGAL\include\CGAL/cpp_float.h(42): error C3861: '_BitScanReverse64': identifier not found
Release Management