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

feat: Added IsInteger method in Fixed64.cs and Fixed64.Extensions.cs #21

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

ltomazetto
Copy link
Contributor

Hello, I would like to contribute to this pull request where I implemented a method to check if a Fixed64 is an integer. I was recently using your library in a project and came across this need, I thought it would be a good idea to share the solution.

@mrdav30
Copy link
Owner

mrdav30 commented Feb 17, 2025

it’s a solid, efficient implementation of integer detection for fixed-point numbers. nice job and thank you for the contribution, glad to see other folks are finding the library useful!

@mrdav30 mrdav30 merged commit 8808be5 into mrdav30:main Feb 17, 2025
2 checks passed
mrdav30 added a commit that referenced this pull request Feb 17, 2025
* refactor: seperate unity package into new project

* task: update readme

* feat: Added IsInteger method in Fixed64.cs and Fixed64.Extensions.cs (#21)

* feat: Added IsInteger method in Fixed64.cs and Fixed64.Extensions.cs

* fix: using MAX_SHIFTED_AMOUNT_UI instead of uint.MaxValue

---------

Co-authored-by: Lucas S. Tomazetto <145228338+ltomazetto@users.noreply.github.com>
mrdav30 added a commit that referenced this pull request Feb 17, 2025
* refactor: unity integration (#16)

* task: refactor handling of Unity integration

* task: bump gitversion/setup to v3.1.1

* ci: update dotnet.yml

* fix: dotnet build configuration

* fix: dotnet project build configurations

* task: update readme

* task: support for dotnet v8 (#19)

* task: support for dotnet v8

* task: bump artifact actions version

* Refactor/unity package (#22)

* refactor: seperate unity package into new project

* task: update readme

* feat: Added IsInteger method in Fixed64.cs and Fixed64.Extensions.cs (#21)

* feat: Added IsInteger method in Fixed64.cs and Fixed64.Extensions.cs

* fix: using MAX_SHIFTED_AMOUNT_UI instead of uint.MaxValue

---------

Co-authored-by: Lucas S. Tomazetto <145228338+ltomazetto@users.noreply.github.com>

---------

Co-authored-by: Lucas S. Tomazetto <145228338+ltomazetto@users.noreply.github.com>
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.

2 participants