bit manipulation functions

Paul Brook paul@codesourcery.com
Sun Dec 5 18:41:00 GMT 2004


On Sunday 05 December 2004 18:00, Steve Kargl wrote:
> Gang,
>
> It seems that our bit manipulation functions are more
> restrictive than implied by the language of the standard
> (where I only have a PDF of the May 2004 working draft of
> the newest standard).  Anyway, the language for IBSET is
<snip>
> This agrees with both G77 and NAG's Fortran 95 compiler.  So, do
> we want to loosen the restrictions?

Yes, although you'll need to check that the actual implementations DTRT, 
particularly is library calls are used. You'll may also need to add 
checks/conversions for intrinsics that take multiple arguments of the same 
type.

Paul



More information about the Fortran mailing list