-
Notifications
You must be signed in to change notification settings - Fork 94
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
Dfp 080 #496
Dfp 080 #496
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Jim!
I've reviewed your changes closely, and while I think you did a fantastic job (I'm actually quite impressed!), I'm afraid I'm going to have to reject this PR for the following reasons:
-
Your code fails to compile on Windows using the version of Microsoft's Visual C/C++ compiler that I'm still using. I did not bother to check whether it compiled cleanly or not using the latest version of Visual Studio, since, even if it did, it's still not standard 'C' code (unless the standards changed recently, and even if they had, Hercules still needs to support older compilers).
The problem is lines 1561 and 1565 ofdfp.c
: you're using what appears to be a GCC extension that was expressly rejected by the C99 standards committee. -
Your "dfp-080-to-packed" (CPDT, CPXT) runtest verification test programs fails to verify. I'm getting "Test "dfp-080-to-packed.tst: CPDT, CPXT": 72 OK compares. 320 failures." Note that I tried both
0xF : 0xC
and0x0F : 0x0C
for #1 above, but the test still fails the same way:
If you can correct the above two issues I would be very happy to accept your Pull Request and merge it into our repository!
Fish, Thank you for the review and finding issues for me to fix!
Hoping that try #2 works. Thanks again, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Test "dfp-080-from-packed.tst: CDPT, CXPT": 162 OK compares. All pass.
Test "dfp-080-to-packed.tst: CPDT, CPXT": 393 OK compares. All pass.
Did 2 tests. All OK.
Will merge ASAP!
THANKS! :))
Very nice work on this. Thank you for your contribution. Bill |
Fish,
Here is my attempt at the Decimal Floating Point Packed Conversion facility (080) instructions. Thank you for all the documentation on making Hyperion and adding new files to the solution. I used your recent BEAR-Enhancement Facility commit as an outline so I hope that I've make all the correct additions/changes.
I still have lot of rust on my skillset but this was an interesting challenge to dig into such a large solution. So, make any changes as I'm sure that I've missed something.
Thanks,
Jim