-
Notifications
You must be signed in to change notification settings - Fork 28
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
Accept other number types #4
Comments
@mourner If you use the |
@urschrei thanks and great work on the |
Maybe I can share some of my experiences when developing Spade. Support for f32When investigating different number types for Spade, I started to riddle my code with I have had bad experiences with One last note: I have not had any problems with overflowing Support for integer typesIf you decide to support integer coordinates, integer overflow is checked in debug configuration. Also, I noted some divisions ( / ) in your code, those may not work as intended for integer coordinates. Support for custom number types (BigIntegers, arbitrary precision floats)When I ran into precision problems back then, my first attempt to fix this was to use arbitrary precision floating point numbers. Besides being terribly slow, they are also very cumbersome to handle as there is no |
Seems that robust does not support |
Currently
delaunator
only works withf64
. I need to learn how Rust generics and numeric traits work to enable using the library with other numeric types.The text was updated successfully, but these errors were encountered: