Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complex64 and complex128 are currently excluded in from being generated by Generate method for quick check #11

Open
chewxy opened this issue Sep 17, 2017 · 0 comments

Comments

@chewxy
Copy link
Member

chewxy commented Sep 17, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant