Unverified Commit b1a91b7e authored by michaelrj-google's avatar michaelrj-google Committed by GitHub
Browse files

[libc][NFC] fix uint128 init in float properties (#75084)

An unsigned integer was being initialized with -1 to set all its bits to
1, but this doesn't work for the BigInt class which may be used as an
integer type on systems that don't support uint128 natively. This patch
moves the initialization to use ~T(0) instead.
parent 12cbccc3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment