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

Use more general fp_type #518

Merged
merged 1 commit into from Nov 2, 2017

Conversation

SylvainCorlay
Copy link
Member

@SylvainCorlay SylvainCorlay commented Nov 2, 2017

In case people use xtensor with arbitrary precision floating point types (such as MPFR), they probably don't want to use double here.

So taking the common type with double to handle the case of integral types.

@SylvainCorlay
Copy link
Member Author

This is ready to go IMO.

@wolfv
Copy link
Member

wolfv commented Nov 2, 2017

cool. we should also do some testing with MPFR et al.

@wolfv wolfv merged commit ac9d36b into xtensor-stack:master Nov 2, 2017
@SylvainCorlay SylvainCorlay deleted the linspace-fptype branch May 21, 2018 23:23
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

Successfully merging this pull request may close these issues.

None yet

2 participants