Node: IBits Intrinsic, Next: IBSet Intrinsic, Previous: IBClr Intrinsic, Up: Table of Intrinsic Functions

IBits(I,Pos,Len)

IBits: `INTEGER`

function, the `KIND=`

value of the type being that of argument `I`.

`I`: `INTEGER`

; scalar; INTENT(IN).

`Pos`: `INTEGER`

; scalar; INTENT(IN).

`Len`: `INTEGER`

; scalar; INTENT(IN).

Intrinsic groups: `mil`

, `f90`

, `vxt`

.

Description:

Extracts a subfield of length `Len` from `I`, starting from
bit position `Pos` and extending left for `Len` bits.
The result is right-justified and the remaining bits are zeroed.
The value
of `Pos``+`

`Len````
must be less than or equal to the value
```

`BIT_SIZE(`

`I``)`

.
See Bit_Size Intrinsic.