Implement Int128#230
Merged
Merged
Conversation
gcc uses the buildin int128_t. msvc does not have some equivalent. so more work was needed.
Collaborator
|
This select causes error: |
Collaborator
|
also, |
Contributor
Author
|
Thank you for reporting. I didn't notice it while testing. Fix is coming soon. |
gcc uses the buildin int128_t. msvc does not have some equivalent. so more work was needed.
* for numeric columns returned as int128 by firebird Int128ColumnDef is now used * for this purpose a scale parameter was added to the Int128ColumnDef constructor * move some code from FRInt128.h to ibbp.h and from FRInt128.cpp to ibint128.cpp.
Contributor
Author
|
Should work now :) |
Collaborator
|
Nice! I'll give a try tonight (2-3 hours from now) and generate a snapshot! |
Collaborator
|
Almost! |
Contributor
Author
|
Yes. Decfloat is not implemented yet. I will do that in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FRInt128.cpp implements functions needed to work with int128. StringToInt128, Int128ToString and some others.
gcc build uses the buildin int128_t. msvc does not have some equivalent. so more work was needed (some overloads for int128)