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

Better integer recognition #2089

Merged
merged 2 commits into from
Mar 16, 2020
Merged

Better integer recognition #2089

merged 2 commits into from
Mar 16, 2020

Conversation

elia
Copy link
Member

@elia elia commented Mar 15, 2020

After this PR numbers with a decimal part won't be recognized by either Integer.=== nor Opal.is_a().

Differentiate the class name from the class itself in the spec some of
the classes are the same and the name is the official one.
Integer.=== now recognizes only numbers without decimals.
Opal.is_a() is now able to distinguish between integer and non-integer
numbers.
@elia elia self-assigned this Mar 15, 2020
@elia elia marked this pull request as ready for review March 16, 2020 00:00
@elia elia merged commit b5ac96a into master Mar 16, 2020
@elia elia deleted the elia/better-integer-recognition branch March 16, 2020 00:00
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

1 participant