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 #143

Closed
chewxy opened this issue Aug 28, 2017 · 1 comment

Comments

@chewxy
Copy link
Member

chewxy commented Aug 28, 2017

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

@chewxy chewxy changed the title complex64 and complex128 are currently not generated by Generate method for quick check complex64 and complex128 are currently excluded in from being generated by Generate method for quick check Aug 28, 2017
@chewxy
Copy link
Member Author

chewxy commented Sep 17, 2017

This issue was moved to gorgonia/tensor#11

@chewxy chewxy closed this as completed Sep 17, 2017
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