ecf_ujaj@jhunix.UUCP (Jim Jones) (04/29/87)
<is this still necessary?> In article <12296045502.17.BEEBE@SCIENCE.UTAH.EDU> Beebe@SCIENCE (Nelson H.F. Beebe) writes: >... >integer bit operations (.AND., .OR., .NOT., .XOR.), since >almost all compilers (IBM notably excepted) have implemented >them in some fashion. It is true that logical operators cannot be used on integer variables with IBM's current flagship Fortran compiler (VS-Fortran). However, the run-time library supplied with the compiler does provide support for a number of bit oriented services. In addition to AND, OR, NOT, and XOR, bit testing, setting and clearing are possible with INTEGER variables. While this scenario is not as nice as simply allowing logical operators to act on INTEGER variables (subroutine calls are much less efficient than inline code!), we've not been left completely out in the cold this time... -jj -- UUCP: {ihnp4!whuxcc | seismo!umcp-cs}!jhunix!ecf_ujaj ARPA: jones@hopkins.arpa BITNET: L64A0110@jhuvm