Print

Print


Neil Carlson asked:
>Two questions about the IBITS intrinsic (F95):
>
>1) Is it required that the POS and LEN arguments be of the same
>   integer kind as the main integer argument I?  The books I have

No.  The standard does not require this, it allows them to be of any kind.

>2) Is a compiler required to catch an incorrect call to an intrinsic
>   when the actual argument types/kinds don't match what is allowed?

No.  These requirements are not constraints.

Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
                           ([log in to unmask])

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________