penf_b_size Module

module~~penf_b_size~~UsesGraph module~penf_b_size penf_b_size module~penf_global_parameters_variables penf_global_parameters_variables module~penf_global_parameters_variables->module~penf_b_size
Help

PENF bit/byte size functions.

Used By

module~~penf_b_size~~UsedByGraph module~penf_b_size penf_b_size module~penf penf module~penf_b_size->module~penf module~penf_stringify penf_stringify module~penf_b_size->module~penf_stringify module~foxy_xml_tag foxy_xml_tag module~penf->module~foxy_xml_tag module~befor64 befor64 module~penf->module~befor64 module~stringifor stringifor module~penf->module~stringifor module~foxy foxy module~penf->module~foxy module~foxy_xml_file foxy_xml_file module~penf->module~foxy_xml_file module~stringifor_string_t stringifor_string_t module~penf->module~stringifor_string_t module~befor64_pack_data_m befor64_pack_data_m module~penf->module~befor64_pack_data_m module~penf_stringify->module~penf module~foxy_xml_tag->module~foxy module~foxy_xml_tag->module~foxy_xml_file module~befor64->module~stringifor_string_t module~stringifor->module~foxy_xml_tag program~parse_file_simple parse_file_simple module~foxy->program~parse_file_simple program~create_tag create_tag module~foxy->program~create_tag program~add_attributes add_attributes module~foxy->program~add_attributes program~delete_attributes delete_attributes module~foxy->program~delete_attributes program~parse_string_simple parse_string_simple module~foxy->program~parse_string_simple program~indent_tag indent_tag module~foxy->program~indent_tag program~delete_content delete_content module~foxy->program~delete_content program~add_tag add_tag module~foxy->program~add_tag program~delete_tag delete_tag module~foxy->program~delete_tag program~write_tag write_tag module~foxy->program~write_tag module~foxy_xml_file->module~foxy module~stringifor_string_t->module~stringifor module~befor64_pack_data_m->module~befor64
Help

Interfaces

public interface bit_size

Overloading of the intrinsic bit_size function for computing the number of bits of (also) real and character variables.

  • private elemental function bit_size_R8P(i) result(bits)

    Arguments

    Type IntentOptional AttributesName
    real(kind=R8P), intent(in) :: i

    Real variable whose number of bits must be computed.

    Return Value integer(kind=I1P)

    Number of bits of r.

    Description

    Compute the number of bits of a real variable.

  • private elemental function bit_size_R4P(i) result(bits)

    Arguments

    Type IntentOptional AttributesName
    real(kind=R4P), intent(in) :: i

    Real variable whose number of bits must be computed.

    Return Value integer(kind=I1P)

    Number of bits of r.

    Description

    Compute the number of bits of a real variable.

  • private elemental function bit_size_chr(i) result(bits)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: i

    Character variable whose number of bits must be computed.

    Return Value integer(kind=I4P)

    Number of bits of c.

    Description

    Compute the number of bits of a character variable.

public interface byte_size

Compute the number of bytes of a variable.

  • private elemental function byte_size_I8P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I8P), intent(in) :: i

    Integer variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of i.

    Description

    Compute the number of bytes of an integer variable.

  • private elemental function byte_size_I4P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I4P), intent(in) :: i

    Integer variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of i.

    Description

    Compute the number of bytes of an integer variable.

  • private elemental function byte_size_I2P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I2P), intent(in) :: i

    Integer variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of i.

    Description

    Compute the number of bytes of an integer variable.

  • private elemental function byte_size_I1P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    integer(kind=I1P), intent(in) :: i

    Integer variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of i.

    Description

    Compute the number of bytes of an integer variable.

  • private elemental function byte_size_R8P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    real(kind=R8P), intent(in) :: i

    Real variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of r.

    Description

    Compute the number of bytes of a real variable.

  • private elemental function byte_size_R4P(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    real(kind=R4P), intent(in) :: i

    Real variable whose number of bytes must be computed.

    Return Value integer(kind=I1P)

    Number of bytes of r.

    Description

    Compute the number of bytes of a real variable.

  • private elemental function byte_size_chr(i) result(bytes)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: i

    Character variable whose number of bytes must be computed.

    Return Value integer(kind=I4P)

    Number of bytes of c.

    Description

    Compute the number of bytes of a character variable.


Functions

private elemental function bit_size_R16P(i) result(bits)

Arguments

Type IntentOptional AttributesName
real(kind=R16P), intent(in) :: i

Real variable whose number of bits must be computed.

Return Value integer(kind=I2P)

Number of bits of r.

Description

Compute the number of bits of a real variable.

private elemental function bit_size_R8P(i) result(bits)

Arguments

Type IntentOptional AttributesName
real(kind=R8P), intent(in) :: i

Real variable whose number of bits must be computed.

Return Value integer(kind=I1P)

Number of bits of r.

Description

Compute the number of bits of a real variable.

private elemental function bit_size_R4P(i) result(bits)

Arguments

Type IntentOptional AttributesName
real(kind=R4P), intent(in) :: i

Real variable whose number of bits must be computed.

Return Value integer(kind=I1P)

Number of bits of r.

Description

Compute the number of bits of a real variable.

private elemental function bit_size_chr(i) result(bits)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: i

Character variable whose number of bits must be computed.

Return Value integer(kind=I4P)

Number of bits of c.

Description

Compute the number of bits of a character variable.

private elemental function byte_size_I8P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
integer(kind=I8P), intent(in) :: i

Integer variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of i.

Description

Compute the number of bytes of an integer variable.

private elemental function byte_size_I4P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
integer(kind=I4P), intent(in) :: i

Integer variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of i.

Description

Compute the number of bytes of an integer variable.

private elemental function byte_size_I2P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
integer(kind=I2P), intent(in) :: i

Integer variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of i.

Description

Compute the number of bytes of an integer variable.

private elemental function byte_size_I1P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
integer(kind=I1P), intent(in) :: i

Integer variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of i.

Description

Compute the number of bytes of an integer variable.

private elemental function byte_size_R16P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
real(kind=R16P), intent(in) :: i

Real variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of r.

Description

Compute the number of bytes of a real variable.

private elemental function byte_size_R8P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
real(kind=R8P), intent(in) :: i

Real variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of r.

Description

Compute the number of bytes of a real variable.

private elemental function byte_size_R4P(i) result(bytes)

Arguments

Type IntentOptional AttributesName
real(kind=R4P), intent(in) :: i

Real variable whose number of bytes must be computed.

Return Value integer(kind=I1P)

Number of bytes of r.

Description

Compute the number of bytes of a real variable.

private elemental function byte_size_chr(i) result(bytes)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: i

Character variable whose number of bytes must be computed.

Return Value integer(kind=I4P)

Number of bytes of c.

Description

Compute the number of bytes of a character variable.