lsame: simplify using IACHAR#1303
Conversation
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
|
We might want to change the file extension to |
|
ah, yes, I did not get that, are we allowed to use f95 in lapack though ? |
|
(1) I'd be OK to allow F95 More comments on the wisdom to allow F95 welcome. |
Please don't use |
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