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

Added ability for fixed point number to be bigger than 4 byte. #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RicoP
Copy link

@RicoP RicoP commented Mar 14, 2020

According to the documentation there should be 64 bit fixed point number types in the lib but they are nowhere to be seen.

So I added my own type.

I had to change some bits in the template schema for FPTemplate to be able to use basetypes greater than sizeof(int). I also fixed some typecasting errors in some operators.

I tested it and added some unit tests for SFixed32.

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.

1 participant