Skip to content

Conversation

@kio-watanabe
Copy link
Contributor

@kio-watanabe kio-watanabe commented Oct 22, 2024

Fixed the problem that sign and numeric values are compared when comparing PIC9(n) SIGN LEADING SEPARATE and PIC9(n - 1) values. (n > 10)
For example, in a test case I added,
before the modification, when N10 and S9-L were compared, the first digit '0' of N10 was compared with the first digit '+' of S9-L.
Therefore, the result was that N10 was larger than S9-L even though a smaller value was assigned to N10.
The correction I made improved the comparison to start with the digit containing the S9-L value.

@yutaro-sakamoto yutaro-sakamoto merged commit cfaaaa0 into opensourcecobol:develop Oct 22, 2024
124 checks passed
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