unsigned integers under FORTRAN

unsigned integers under FORTRAN

I want to operate on unsigned integers (8bit, 16bit, coming from C++) under Fortran subroutines .
However Fortran doesn't know these kinds of data-types.
Did you encounter this problem and did you find a solution/circumvention?
Thank you.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Use ZEXT to convert to 32-bit, do your arithmetic, use IBITS to convert back.

Steve

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today