Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix max number of samples in experiments on non-64-bit systems.
The use of `math.MaxInt64` as the maximum number of samples in the context of general int variables can lead to inconsistent behavior on non-64-bit systems. This patch addresses this using the arbitrary-precision `math/big.Int` type to store and compare sampling numbers to ensure no architecture-dependant int size mismatches will occur. Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
- Loading branch information