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

Aren't unsigned numbers in kotlin 1.3.x already? #17

Closed
apatrida opened this issue Nov 27, 2018 · 3 comments
Closed

Aren't unsigned numbers in kotlin 1.3.x already? #17

apatrida opened this issue Nov 27, 2018 · 3 comments

Comments

@apatrida
Copy link

Not using unsigned numbers myself I can't be sure of all that there is available or not, but Kotlin 1.3 covers unsigned numbers doesn't it? https://kotlinlang.org/docs/reference/whatsnew13.html#unsigned-integers

@elect86
Copy link
Collaborator

elect86 commented Nov 27, 2018

Yes, they actually are present

However this library was developed back into 2016 (published at very begin of 2017) and at that time there was yet no other way to get unsigned on Kotlin.

Moreover, in 1.3 (inline classes) they do not extend Number, making usage in some generic methods, such as in glm, pretty impossible

I tried to suggest to convert Number from abstract class to interface, (inline classes can extends only interfaces) but the usage case was too irrilevant for them

@apatrida
Copy link
Author

@elect86
Copy link
Collaborator

elect86 commented Feb 25, 2019

I'm closing this

@elect86 elect86 closed this as completed Feb 25, 2019
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