Hello,
can anybody help me with this question:
Does the Fortran 95 standard define how the sign of an
integer number is to be handled within the bit manipulation
functions?
-- or --
Is the following true?
ibits(a, pos=bit_size(a), len=1) == 0 for all a >=0
ibits(a, pos=bit_size(a), len=1) == 1 for all a < 0
Thank you for any helpful comments!
Joerg
--
Dr.-Ing. Joerg Stiller, Dozent fuer Geo- und Magnetofluiddynamik
----------------------------------------------------------------
Technische Universitaet Dresden TEL : (0351) 463 - 4897
Inst. fuer Luft- und Raumfahrtechnik FAX : (0351) 463 - 5246
D-1062 Dresden [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|