dm_int32_to_uint16 Function

public pure elemental function dm_int32_to_uint16(s) result(u)

Converts signed 4-byte integer to unsigned 2-byte integer.

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: s

Signed integer.

Return Value integer(kind=u2)

Unsigned integer.


Called by

proc~~dm_int32_to_uint16~~CalledByGraph proc~dm_int32_to_uint16 dm_int32_to_uint16 interface~dm_to_unsigned dm_to_unsigned interface~dm_to_unsigned->proc~dm_int32_to_uint16 proc~dm_tty_set_attributes dm_tty_set_attributes proc~dm_tty_set_attributes->interface~dm_to_unsigned proc~dm_tty_open dm_tty_open proc~dm_tty_open->proc~dm_tty_set_attributes