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~hasty_dictionary_node hasty_dictionary_node module~penf->module~hasty_dictionary_node module~hasty_hash_table hasty_hash_table module~penf->module~hasty_hash_table program~test_all test_all module~penf->program~test_all program~compact_real compact_real module~penf->program~compact_real module~hasty_dictionary hasty_dictionary module~penf->module~hasty_dictionary module~hasty_key_base hasty_key_base module~penf->module~hasty_key_base module~hasty_key_morton hasty_key_morton module~penf->module~hasty_key_morton module~penf_stringify->module~penf module~hasty_dictionary_node->module~hasty_dictionary module~hasty hasty module~hasty_dictionary_node->module~hasty module~hasty_hash_table->module~hasty module~hasty_dictionary->module~hasty_hash_table module~hasty_dictionary->module~hasty module~hasty_key_base->module~hasty_dictionary_node module~hasty_key_base->module~hasty_hash_table module~hasty_key_base->module~hasty_dictionary module~hasty_key_base->module~hasty_key_morton module~hasty_key_base->module~hasty module~hasty_key_morton->module~hasty program~hasty_test_caf_basic hasty_test_caf_basic module~hasty->program~hasty_test_caf_basic program~hasty_test_hash_table_homo hasty_test_hash_table_homo module~hasty->program~hasty_test_hash_table_homo program~hasty_test_hash_table_homocontent_failure hasty_test_hash_table_homocontent_failure module~hasty->program~hasty_test_hash_table_homocontent_failure program~hasty_test_caf_get_clone hasty_test_caf_get_clone module~hasty->program~hasty_test_caf_get_clone program~hasty_test_hash_table_homokey_failure hasty_test_hash_table_homokey_failure module~hasty->program~hasty_test_hash_table_homokey_failure program~hasty_test_dictionary hasty_test_dictionary module~hasty->program~hasty_test_dictionary program~hasty_test_hash_table hasty_test_hash_table module~hasty->program~hasty_test_hash_table
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)

    Compute the number of bits of a real variable.

    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.

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

    Compute the number of bits of a real variable.

    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.

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

    Compute the number of bits of a character variable.

    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.

public interface byte_size

Compute the number of bytes of a variable.

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

    Compute the number of bytes of an integer variable.

    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.

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

    Compute the number of bytes of an integer variable.

    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.

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

    Compute the number of bytes of an integer variable.

    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.

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

    Compute the number of bytes of an integer variable.

    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.

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

    Compute the number of bytes of a real variable.

    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.

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

    Compute the number of bytes of a real variable.

    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.

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

    Compute the number of bytes of a character variable.

    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.


Functions

private elemental function bit_size_R16P(i) result(bits)

Compute the number of bits of a real variable.

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.

private elemental function bit_size_R8P(i) result(bits)

Compute the number of bits of a real variable.

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.

private elemental function bit_size_R4P(i) result(bits)

Compute the number of bits of a real variable.

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.

private elemental function bit_size_chr(i) result(bits)

Compute the number of bits of a character variable.

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.

private elemental function byte_size_I8P(i) result(bytes)

Compute the number of bytes of an integer variable.

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.

private elemental function byte_size_I4P(i) result(bytes)

Compute the number of bytes of an integer variable.

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.

private elemental function byte_size_I2P(i) result(bytes)

Compute the number of bytes of an integer variable.

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.

private elemental function byte_size_I1P(i) result(bytes)

Compute the number of bytes of an integer variable.

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.

private elemental function byte_size_R16P(i) result(bytes)

Compute the number of bytes of a real variable.

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.

private elemental function byte_size_R8P(i) result(bytes)

Compute the number of bytes of a real variable.

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.

private elemental function byte_size_R4P(i) result(bytes)

Compute the number of bytes of a real variable.

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.

private elemental function byte_size_chr(i) result(bytes)

Compute the number of bytes of a character variable.

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.