Skip to content

<refactor>: replaced NAT with Int - #141

Open
Kalashnikovni wants to merge 1 commit into
sb-graph-devfrom
iss-140-use-integer
Open

Kalashnikovni wants to merge 1 commit into
sb-graph-devfrom
iss-140-use-integer

Conversation

@Kalashnikovni

@Kalashnikovni Kalashnikovni commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

I replaced using SBG::LIB::NAT = unsigned long long int; with using SBG::LIB::Int = long long int;, because decreasing expressions could result in negative values, and in many cases this was tackled narrow casting types, which is not a good idea.
I mainly created the PR to inform of this change.

@Kalashnikovni Kalashnikovni added this to the SB-Graph 5.0.0 milestone Sep 7, 2026
@Kalashnikovni Kalashnikovni self-assigned this Sep 7, 2026
@Kalashnikovni Kalashnikovni added the enhancement New feature or request label Sep 7, 2026
@Kalashnikovni Kalashnikovni linked an issue Sep 7, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

Use integer instead of naturals

1 participant