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

int-intervals (and maybe others) #5

Open
mwweissmann opened this issue Aug 17, 2016 · 4 comments
Open

int-intervals (and maybe others) #5

mwweissmann opened this issue Aug 17, 2016 · 4 comments

Comments

@mwweissmann
Copy link

would you accept a patch to make the point-type flexible? So instead of forcing you to use a float, you could use an int (or something else).
Probably the most straight forward implementation would be to make the current lib a functor -- and providing a float and an int applied one.

@UnixJunkie
Copy link
Owner

Sure. Send the patch and I will review it. Thanks!
----- mwweissmann notifications@github.com a �crit�:

would you accept a patch to make the point-type flexible? So instead of forcing you to use a float, you could use an int (or something else).
Probably the most straight forward implementation would be to make the current lib a functor -- and providing a float and an int applied one.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#5

@UnixJunkie
Copy link
Owner

Is the module parameter your are thinking about just a type and a comparison function ?

@mwweissmann
Copy link
Author

I think a type, comparison and bisect function, yes.

@UnixJunkie
Copy link
Owner

Concerning ints, I guess that most ints can be stored inside a float.
So, your use case is probably already supported.
Unless you are dealing with very large integers?

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

2 participants