Skip to content

lsame: simplify using IACHAR#1303

Open
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue701
Open

lsame: simplify using IACHAR#1303
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue701

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

Replace ICHAR with the F95 intrinsic IACHAR, which always returns ASCII codes regardless of the platform's native character encoding. This eliminates the entire EBCDIC/Prime machine detection branch (logic testing ZCODE against ASCII/EBCDIC/Prime codes), producing shorter, simpler, and equivalent code.

Closes #701

Replace ICHAR with the F95 intrinsic IACHAR, which always returns
ASCII codes regardless of the platform's native character encoding.
This eliminates the entire EBCDIC/Prime machine detection branch
(logic testing ZCODE against ASCII/EBCDIC/Prime codes), producing
shorter, simpler, and equivalent code.

Closes Reference-LAPACK#701
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.

Simplify lsame

1 participant