`complex64` and `complex128` are currently excluded in from being generated by `Generate` method for quick check
chewxy opened this issue · comments
Chewxy commented
From @chewxy on August 28, 2017 9:17
What happens for Generate()
is that testing/quick
will generate really huge complex numbers, such that when it's Pow
'd it becomes +Inf+Infi
instead of returning the identity.
Example:
var identity complex128 = 1
x := 1.2137443348035267e+308+1.5113294366498325e+308i
y := cmplx.Pow(x, identity)
// returns (+Inf+Infi)
This causes tests and the CI to fail, therefore it's been temporarily removed until we can figure out the right thing to do
Copied from original issue: gorgonia/gorgonia#143