logicalToReal Function

public function logicalToReal(value) result(res)

Converts a logical into a real.

0 equals to false, everything else equals to true.

Arguments

TypeIntentOptionalAttributesName
logical, intent(in) :: value

The value to interpret as boolean

Return Value real(kind=rk)

The value interpreted as boolean


Called by

proc~~logicaltoreal~~CalledByGraph proc~logicaltoreal logicalToReal proc~evallogicalor_forelement evalLogicalOr_forElement proc~evallogicalor_forelement->proc~logicaltoreal proc~check_logicaltoreal check_logicalToReal proc~check_logicaltoreal->proc~logicaltoreal proc~evallogicaland_forelement evalLogicalAnd_forElement proc~evallogicaland_forelement->proc~logicaltoreal proc~evallogicalgreater_forelement evalLogicalGreater_forElement proc~evallogicalgreater_forelement->proc~logicaltoreal proc~evallogicalnotequal_forelement evalLogicalNotEqual_forElement proc~evallogicalnotequal_forelement->proc~logicaltoreal proc~evallogicalgreaterorequal_forelement evalLogicalGreaterOrEqual_forElement proc~evallogicalgreaterorequal_forelement->proc~logicaltoreal proc~evallogicalequal_forelement evalLogicalEqual_forElement proc~evallogicalequal_forelement->proc~logicaltoreal proc~evallogicallessorequal_forelement evalLogicalLessOrEqual_forElement proc~evallogicallessorequal_forelement->proc~logicaltoreal proc~evallogicalless_forelement evalLogicalLess_forElement proc~evallogicalless_forelement->proc~logicaltoreal program~tem_logical_opertor_test tem_logical_opertor_test program~tem_logical_opertor_test->proc~check_logicaltoreal

Contents

None