- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
However Fortran doesn't know these kinds of data-types.
Did you encounter this problem and did you find a solution/circumvention?
Thank you.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use ZEXT to convert to 32-bit, do your arithmetic, use IBITS to convert back.
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page