Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
testing/quick: generate NaN and +/-Inf for float and complex parameters #8461
referenced this issue
Dec 8, 2014
Because no two NaNs are equal, I wonder if an algorithm generates NaN for NaN/Inf inputs, how should testing/quick.CheckEqual do? Comparing bit patterns for NaN? Or if both are NaN then they're equal? I can see cases for both solutions. We should figure this out before adding the ability to generate NaN/Inf to the default generator.