penf_stringify Module

PENF string-to-number (and viceversa) facility.


Uses

  • module~~penf_stringify~~UsesGraph module~penf_stringify penf_stringify iso_fortran_env iso_fortran_env module~penf_stringify->iso_fortran_env module~penf_b_size penf_b_size module~penf_stringify->module~penf_b_size module~penf_global_parameters_variables penf_global_parameters_variables module~penf_stringify->module~penf_global_parameters_variables module~penf_b_size->module~penf_global_parameters_variables

Used by

  • module~~penf_stringify~~UsedByGraph module~penf_stringify penf_stringify module~penf penf module~penf->module~penf_stringify module~penf_allocatable_memory penf_allocatable_memory module~penf->module~penf_allocatable_memory module~penf_allocatable_memory->module~penf_stringify program~volatile_doctest~10 volatile_doctest program~volatile_doctest~10->module~penf_stringify program~volatile_doctest~10->module~penf program~volatile_doctest~103 volatile_doctest program~volatile_doctest~103->module~penf_stringify program~volatile_doctest~103->module~penf program~volatile_doctest~105 volatile_doctest program~volatile_doctest~105->module~penf_stringify program~volatile_doctest~105->module~penf program~volatile_doctest~107 volatile_doctest program~volatile_doctest~107->module~penf_stringify program~volatile_doctest~107->module~penf program~volatile_doctest~109 volatile_doctest program~volatile_doctest~109->module~penf_stringify program~volatile_doctest~109->module~penf program~volatile_doctest~111 volatile_doctest program~volatile_doctest~111->module~penf_stringify program~volatile_doctest~111->module~penf program~volatile_doctest~112 volatile_doctest program~volatile_doctest~112->module~penf_stringify program~volatile_doctest~112->module~penf program~volatile_doctest~113 volatile_doctest program~volatile_doctest~113->module~penf_stringify program~volatile_doctest~113->module~penf program~volatile_doctest~116 volatile_doctest program~volatile_doctest~116->module~penf_stringify program~volatile_doctest~116->module~penf program~volatile_doctest~118 volatile_doctest program~volatile_doctest~118->module~penf_stringify program~volatile_doctest~118->module~penf program~volatile_doctest~121 volatile_doctest program~volatile_doctest~121->module~penf_stringify program~volatile_doctest~121->module~penf program~volatile_doctest~124 volatile_doctest program~volatile_doctest~124->module~penf_stringify program~volatile_doctest~124->module~penf program~volatile_doctest~126 volatile_doctest program~volatile_doctest~126->module~penf_stringify program~volatile_doctest~126->module~penf program~volatile_doctest~127 volatile_doctest program~volatile_doctest~127->module~penf_stringify program~volatile_doctest~127->module~penf program~volatile_doctest~13 volatile_doctest program~volatile_doctest~13->module~penf_stringify program~volatile_doctest~13->module~penf program~volatile_doctest~130 volatile_doctest program~volatile_doctest~130->module~penf_stringify program~volatile_doctest~130->module~penf program~volatile_doctest~133 volatile_doctest program~volatile_doctest~133->module~penf_stringify program~volatile_doctest~133->module~penf program~volatile_doctest~135 volatile_doctest program~volatile_doctest~135->module~penf_stringify program~volatile_doctest~135->module~penf program~volatile_doctest~136 volatile_doctest program~volatile_doctest~136->module~penf_stringify program~volatile_doctest~136->module~penf program~volatile_doctest~137 volatile_doctest program~volatile_doctest~137->module~penf_stringify program~volatile_doctest~137->module~penf program~volatile_doctest~138 volatile_doctest program~volatile_doctest~138->module~penf_stringify program~volatile_doctest~138->module~penf program~volatile_doctest~14 volatile_doctest program~volatile_doctest~14->module~penf_stringify program~volatile_doctest~14->module~penf program~volatile_doctest~140 volatile_doctest program~volatile_doctest~140->module~penf_stringify program~volatile_doctest~140->module~penf program~volatile_doctest~141 volatile_doctest program~volatile_doctest~141->module~penf_stringify program~volatile_doctest~141->module~penf program~volatile_doctest~143 volatile_doctest program~volatile_doctest~143->module~penf_stringify program~volatile_doctest~143->module~penf program~volatile_doctest~148 volatile_doctest program~volatile_doctest~148->module~penf_stringify program~volatile_doctest~148->module~penf program~volatile_doctest~150 volatile_doctest program~volatile_doctest~150->module~penf_stringify program~volatile_doctest~150->module~penf program~volatile_doctest~151 volatile_doctest program~volatile_doctest~151->module~penf_stringify program~volatile_doctest~151->module~penf program~volatile_doctest~152 volatile_doctest program~volatile_doctest~152->module~penf_stringify program~volatile_doctest~152->module~penf program~volatile_doctest~154 volatile_doctest program~volatile_doctest~154->module~penf_stringify program~volatile_doctest~154->module~penf program~volatile_doctest~159 volatile_doctest program~volatile_doctest~159->module~penf_stringify program~volatile_doctest~159->module~penf program~volatile_doctest~162 volatile_doctest program~volatile_doctest~162->module~penf_stringify program~volatile_doctest~162->module~penf program~volatile_doctest~17 volatile_doctest program~volatile_doctest~17->module~penf_stringify program~volatile_doctest~17->module~penf program~volatile_doctest~170 volatile_doctest program~volatile_doctest~170->module~penf_stringify program~volatile_doctest~170->module~penf program~volatile_doctest~171 volatile_doctest program~volatile_doctest~171->module~penf_stringify program~volatile_doctest~171->module~penf program~volatile_doctest~174 volatile_doctest program~volatile_doctest~174->module~penf_stringify program~volatile_doctest~174->module~penf program~volatile_doctest~176 volatile_doctest program~volatile_doctest~176->module~penf_stringify program~volatile_doctest~176->module~penf program~volatile_doctest~177 volatile_doctest program~volatile_doctest~177->module~penf_stringify program~volatile_doctest~177->module~penf program~volatile_doctest~178 volatile_doctest program~volatile_doctest~178->module~penf_stringify program~volatile_doctest~178->module~penf program~volatile_doctest~179 volatile_doctest program~volatile_doctest~179->module~penf_stringify program~volatile_doctest~179->module~penf program~volatile_doctest~18 volatile_doctest program~volatile_doctest~18->module~penf_stringify program~volatile_doctest~18->module~penf program~volatile_doctest~181 volatile_doctest program~volatile_doctest~181->module~penf_stringify program~volatile_doctest~181->module~penf program~volatile_doctest~187 volatile_doctest program~volatile_doctest~187->module~penf_stringify program~volatile_doctest~187->module~penf program~volatile_doctest~190 volatile_doctest program~volatile_doctest~190->module~penf_stringify program~volatile_doctest~190->module~penf program~volatile_doctest~194 volatile_doctest program~volatile_doctest~194->module~penf_stringify program~volatile_doctest~194->module~penf program~volatile_doctest~201 volatile_doctest program~volatile_doctest~201->module~penf_stringify program~volatile_doctest~201->module~penf program~volatile_doctest~202 volatile_doctest program~volatile_doctest~202->module~penf_stringify program~volatile_doctest~202->module~penf program~volatile_doctest~203 volatile_doctest program~volatile_doctest~203->module~penf_stringify program~volatile_doctest~203->module~penf program~volatile_doctest~205 volatile_doctest program~volatile_doctest~205->module~penf_stringify program~volatile_doctest~205->module~penf program~volatile_doctest~206 volatile_doctest program~volatile_doctest~206->module~penf_stringify program~volatile_doctest~206->module~penf program~volatile_doctest~207 volatile_doctest program~volatile_doctest~207->module~penf_stringify program~volatile_doctest~207->module~penf program~volatile_doctest~208 volatile_doctest program~volatile_doctest~208->module~penf_stringify program~volatile_doctest~208->module~penf program~volatile_doctest~26 volatile_doctest program~volatile_doctest~26->module~penf_stringify program~volatile_doctest~26->module~penf program~volatile_doctest~27 volatile_doctest program~volatile_doctest~27->module~penf_stringify program~volatile_doctest~27->module~penf program~volatile_doctest~29 volatile_doctest program~volatile_doctest~29->module~penf_stringify program~volatile_doctest~29->module~penf program~volatile_doctest~3 volatile_doctest program~volatile_doctest~3->module~penf_stringify program~volatile_doctest~3->module~penf program~volatile_doctest~32 volatile_doctest program~volatile_doctest~32->module~penf_stringify program~volatile_doctest~32->module~penf program~volatile_doctest~33 volatile_doctest program~volatile_doctest~33->module~penf_stringify program~volatile_doctest~33->module~penf program~volatile_doctest~36 volatile_doctest program~volatile_doctest~36->module~penf_stringify program~volatile_doctest~36->module~penf program~volatile_doctest~39 volatile_doctest program~volatile_doctest~39->module~penf_stringify program~volatile_doctest~39->module~penf program~volatile_doctest~45 volatile_doctest program~volatile_doctest~45->module~penf_stringify program~volatile_doctest~45->module~penf program~volatile_doctest~48 volatile_doctest program~volatile_doctest~48->module~penf_stringify program~volatile_doctest~48->module~penf program~volatile_doctest~49 volatile_doctest program~volatile_doctest~49->module~penf_stringify program~volatile_doctest~49->module~penf program~volatile_doctest~51 volatile_doctest program~volatile_doctest~51->module~penf_stringify program~volatile_doctest~51->module~penf program~volatile_doctest~55 volatile_doctest program~volatile_doctest~55->module~penf_stringify program~volatile_doctest~55->module~penf program~volatile_doctest~57 volatile_doctest program~volatile_doctest~57->module~penf_stringify program~volatile_doctest~57->module~penf program~volatile_doctest~58 volatile_doctest program~volatile_doctest~58->module~penf_stringify program~volatile_doctest~58->module~penf program~volatile_doctest~59 volatile_doctest program~volatile_doctest~59->module~penf_stringify program~volatile_doctest~59->module~penf program~volatile_doctest~6 volatile_doctest program~volatile_doctest~6->module~penf_stringify program~volatile_doctest~6->module~penf program~volatile_doctest~61 volatile_doctest program~volatile_doctest~61->module~penf_stringify program~volatile_doctest~61->module~penf program~volatile_doctest~62 volatile_doctest program~volatile_doctest~62->module~penf_stringify program~volatile_doctest~62->module~penf program~volatile_doctest~64 volatile_doctest program~volatile_doctest~64->module~penf_stringify program~volatile_doctest~64->module~penf program~volatile_doctest~65 volatile_doctest program~volatile_doctest~65->module~penf_stringify program~volatile_doctest~65->module~penf program~volatile_doctest~68 volatile_doctest program~volatile_doctest~68->module~penf_stringify program~volatile_doctest~68->module~penf program~volatile_doctest~72 volatile_doctest program~volatile_doctest~72->module~penf_stringify program~volatile_doctest~72->module~penf program~volatile_doctest~73 volatile_doctest program~volatile_doctest~73->module~penf_stringify program~volatile_doctest~73->module~penf program~volatile_doctest~75 volatile_doctest program~volatile_doctest~75->module~penf_stringify program~volatile_doctest~75->module~penf program~volatile_doctest~76 volatile_doctest program~volatile_doctest~76->module~penf_stringify program~volatile_doctest~76->module~penf program~volatile_doctest~77 volatile_doctest program~volatile_doctest~77->module~penf_stringify program~volatile_doctest~77->module~penf program~volatile_doctest~80 volatile_doctest program~volatile_doctest~80->module~penf_stringify program~volatile_doctest~80->module~penf program~volatile_doctest~81 volatile_doctest program~volatile_doctest~81->module~penf_stringify program~volatile_doctest~81->module~penf program~volatile_doctest~84 volatile_doctest program~volatile_doctest~84->module~penf_stringify program~volatile_doctest~84->module~penf program~volatile_doctest~86 volatile_doctest program~volatile_doctest~86->module~penf_stringify program~volatile_doctest~86->module~penf program~volatile_doctest~87 volatile_doctest program~volatile_doctest~87->module~penf_stringify program~volatile_doctest~87->module~penf program~volatile_doctest~89 volatile_doctest program~volatile_doctest~89->module~penf_stringify program~volatile_doctest~89->module~penf program~volatile_doctest~91 volatile_doctest program~volatile_doctest~91->module~penf_stringify program~volatile_doctest~91->module~penf program~volatile_doctest~92 volatile_doctest program~volatile_doctest~92->module~penf_stringify program~volatile_doctest~92->module~penf program~volatile_doctest~95 volatile_doctest program~volatile_doctest~95->module~penf_stringify program~volatile_doctest~95->module~penf program~volatile_doctest~96 volatile_doctest program~volatile_doctest~96->module~penf_stringify program~volatile_doctest~96->module~penf program~volatile_doctest~97 volatile_doctest program~volatile_doctest~97->module~penf_stringify program~volatile_doctest~97->module~penf program~volatile_doctest~99 volatile_doctest program~volatile_doctest~99->module~penf_stringify program~volatile_doctest~99->module~penf program~volatile_doctest volatile_doctest program~volatile_doctest->module~penf program~volatile_doctest->module~penf_allocatable_memory program~volatile_doctest~100 volatile_doctest program~volatile_doctest~100->module~penf program~volatile_doctest~100->module~penf_allocatable_memory program~volatile_doctest~101 volatile_doctest program~volatile_doctest~101->module~penf program~volatile_doctest~101->module~penf_allocatable_memory program~volatile_doctest~102 volatile_doctest program~volatile_doctest~102->module~penf program~volatile_doctest~102->module~penf_allocatable_memory program~volatile_doctest~104 volatile_doctest program~volatile_doctest~104->module~penf program~volatile_doctest~106 volatile_doctest program~volatile_doctest~106->module~penf program~volatile_doctest~106->module~penf_allocatable_memory program~volatile_doctest~108 volatile_doctest program~volatile_doctest~108->module~penf program~volatile_doctest~108->module~penf_allocatable_memory program~volatile_doctest~11 volatile_doctest program~volatile_doctest~11->module~penf program~volatile_doctest~110 volatile_doctest program~volatile_doctest~110->module~penf program~volatile_doctest~110->module~penf_allocatable_memory program~volatile_doctest~114 volatile_doctest program~volatile_doctest~114->module~penf program~volatile_doctest~114->module~penf_allocatable_memory program~volatile_doctest~115 volatile_doctest program~volatile_doctest~115->module~penf program~volatile_doctest~117 volatile_doctest program~volatile_doctest~117->module~penf program~volatile_doctest~117->module~penf_allocatable_memory program~volatile_doctest~119 volatile_doctest program~volatile_doctest~119->module~penf program~volatile_doctest~12 volatile_doctest program~volatile_doctest~12->module~penf program~volatile_doctest~12->module~penf_allocatable_memory program~volatile_doctest~120 volatile_doctest program~volatile_doctest~120->module~penf program~volatile_doctest~120->module~penf_allocatable_memory program~volatile_doctest~122 volatile_doctest program~volatile_doctest~122->module~penf program~volatile_doctest~123 volatile_doctest program~volatile_doctest~123->module~penf program~volatile_doctest~123->module~penf_allocatable_memory program~volatile_doctest~125 volatile_doctest program~volatile_doctest~125->module~penf program~volatile_doctest~128 volatile_doctest program~volatile_doctest~128->module~penf program~volatile_doctest~128->module~penf_allocatable_memory program~volatile_doctest~129 volatile_doctest program~volatile_doctest~129->module~penf program~volatile_doctest~129->module~penf_allocatable_memory program~volatile_doctest~131 volatile_doctest program~volatile_doctest~131->module~penf program~volatile_doctest~131->module~penf_allocatable_memory program~volatile_doctest~132 volatile_doctest program~volatile_doctest~132->module~penf program~volatile_doctest~132->module~penf_allocatable_memory program~volatile_doctest~134 volatile_doctest program~volatile_doctest~134->module~penf program~volatile_doctest~134->module~penf_allocatable_memory program~volatile_doctest~139 volatile_doctest program~volatile_doctest~139->module~penf program~volatile_doctest~139->module~penf_allocatable_memory program~volatile_doctest~142 volatile_doctest program~volatile_doctest~142->module~penf program~volatile_doctest~142->module~penf_allocatable_memory program~volatile_doctest~144 volatile_doctest program~volatile_doctest~144->module~penf program~volatile_doctest~144->module~penf_allocatable_memory program~volatile_doctest~145 volatile_doctest program~volatile_doctest~145->module~penf program~volatile_doctest~145->module~penf_allocatable_memory program~volatile_doctest~146 volatile_doctest program~volatile_doctest~146->module~penf program~volatile_doctest~146->module~penf_allocatable_memory program~volatile_doctest~147 volatile_doctest program~volatile_doctest~147->module~penf program~volatile_doctest~147->module~penf_allocatable_memory program~volatile_doctest~149 volatile_doctest program~volatile_doctest~149->module~penf program~volatile_doctest~149->module~penf_allocatable_memory program~volatile_doctest~15 volatile_doctest program~volatile_doctest~15->module~penf program~volatile_doctest~15->module~penf_allocatable_memory program~volatile_doctest~153 volatile_doctest program~volatile_doctest~153->module~penf program~volatile_doctest~153->module~penf_allocatable_memory program~volatile_doctest~155 volatile_doctest program~volatile_doctest~155->module~penf program~volatile_doctest~155->module~penf_allocatable_memory program~volatile_doctest~156 volatile_doctest program~volatile_doctest~156->module~penf program~volatile_doctest~156->module~penf_allocatable_memory program~volatile_doctest~157 volatile_doctest program~volatile_doctest~157->module~penf program~volatile_doctest~157->module~penf_allocatable_memory program~volatile_doctest~158 volatile_doctest program~volatile_doctest~158->module~penf program~volatile_doctest~158->module~penf_allocatable_memory program~volatile_doctest~16 volatile_doctest program~volatile_doctest~16->module~penf program~volatile_doctest~16->module~penf_allocatable_memory program~volatile_doctest~160 volatile_doctest program~volatile_doctest~160->module~penf program~volatile_doctest~160->module~penf_allocatable_memory program~volatile_doctest~161 volatile_doctest program~volatile_doctest~161->module~penf program~volatile_doctest~161->module~penf_allocatable_memory program~volatile_doctest~163 volatile_doctest program~volatile_doctest~163->module~penf program~volatile_doctest~164 volatile_doctest program~volatile_doctest~164->module~penf program~volatile_doctest~164->module~penf_allocatable_memory program~volatile_doctest~165 volatile_doctest program~volatile_doctest~165->module~penf program~volatile_doctest~165->module~penf_allocatable_memory program~volatile_doctest~166 volatile_doctest program~volatile_doctest~166->module~penf program~volatile_doctest~166->module~penf_allocatable_memory program~volatile_doctest~167 volatile_doctest program~volatile_doctest~167->module~penf program~volatile_doctest~167->module~penf_allocatable_memory program~volatile_doctest~168 volatile_doctest program~volatile_doctest~168->module~penf program~volatile_doctest~168->module~penf_allocatable_memory program~volatile_doctest~169 volatile_doctest program~volatile_doctest~169->module~penf program~volatile_doctest~169->module~penf_allocatable_memory program~volatile_doctest~172 volatile_doctest program~volatile_doctest~172->module~penf program~volatile_doctest~172->module~penf_allocatable_memory program~volatile_doctest~173 volatile_doctest program~volatile_doctest~173->module~penf program~volatile_doctest~175 volatile_doctest program~volatile_doctest~175->module~penf program~volatile_doctest~175->module~penf_allocatable_memory program~volatile_doctest~180 volatile_doctest program~volatile_doctest~180->module~penf program~volatile_doctest~180->module~penf_allocatable_memory program~volatile_doctest~182 volatile_doctest program~volatile_doctest~182->module~penf program~volatile_doctest~182->module~penf_allocatable_memory program~volatile_doctest~183 volatile_doctest program~volatile_doctest~183->module~penf program~volatile_doctest~183->module~penf_allocatable_memory program~volatile_doctest~184 volatile_doctest program~volatile_doctest~184->module~penf program~volatile_doctest~185 volatile_doctest program~volatile_doctest~185->module~penf program~volatile_doctest~185->module~penf_allocatable_memory program~volatile_doctest~186 volatile_doctest program~volatile_doctest~186->module~penf program~volatile_doctest~188 volatile_doctest program~volatile_doctest~188->module~penf program~volatile_doctest~188->module~penf_allocatable_memory program~volatile_doctest~189 volatile_doctest program~volatile_doctest~189->module~penf program~volatile_doctest~189->module~penf_allocatable_memory program~volatile_doctest~19 volatile_doctest program~volatile_doctest~19->module~penf program~volatile_doctest~19->module~penf_allocatable_memory program~volatile_doctest~191 volatile_doctest program~volatile_doctest~191->module~penf program~volatile_doctest~191->module~penf_allocatable_memory program~volatile_doctest~192 volatile_doctest program~volatile_doctest~192->module~penf program~volatile_doctest~192->module~penf_allocatable_memory program~volatile_doctest~193 volatile_doctest program~volatile_doctest~193->module~penf program~volatile_doctest~193->module~penf_allocatable_memory program~volatile_doctest~195 volatile_doctest program~volatile_doctest~195->module~penf program~volatile_doctest~196 volatile_doctest program~volatile_doctest~196->module~penf program~volatile_doctest~197 volatile_doctest program~volatile_doctest~197->module~penf program~volatile_doctest~197->module~penf_allocatable_memory program~volatile_doctest~198 volatile_doctest program~volatile_doctest~198->module~penf program~volatile_doctest~198->module~penf_allocatable_memory program~volatile_doctest~199 volatile_doctest program~volatile_doctest~199->module~penf program~volatile_doctest~199->module~penf_allocatable_memory program~volatile_doctest~2 volatile_doctest program~volatile_doctest~2->module~penf program~volatile_doctest~2->module~penf_allocatable_memory program~volatile_doctest~20 volatile_doctest program~volatile_doctest~20->module~penf program~volatile_doctest~200 volatile_doctest program~volatile_doctest~200->module~penf program~volatile_doctest~200->module~penf_allocatable_memory program~volatile_doctest~204 volatile_doctest program~volatile_doctest~204->module~penf program~volatile_doctest~204->module~penf_allocatable_memory program~volatile_doctest~21 volatile_doctest program~volatile_doctest~21->module~penf program~volatile_doctest~22 volatile_doctest program~volatile_doctest~22->module~penf program~volatile_doctest~22->module~penf_allocatable_memory program~volatile_doctest~23 volatile_doctest program~volatile_doctest~23->module~penf program~volatile_doctest~23->module~penf_allocatable_memory program~volatile_doctest~24 volatile_doctest program~volatile_doctest~24->module~penf program~volatile_doctest~24->module~penf_allocatable_memory program~volatile_doctest~25 volatile_doctest program~volatile_doctest~25->module~penf program~volatile_doctest~25->module~penf_allocatable_memory program~volatile_doctest~28 volatile_doctest program~volatile_doctest~28->module~penf program~volatile_doctest~28->module~penf_allocatable_memory program~volatile_doctest~30 volatile_doctest program~volatile_doctest~30->module~penf program~volatile_doctest~30->module~penf_allocatable_memory program~volatile_doctest~31 volatile_doctest program~volatile_doctest~31->module~penf program~volatile_doctest~31->module~penf_allocatable_memory program~volatile_doctest~34 volatile_doctest program~volatile_doctest~34->module~penf program~volatile_doctest~34->module~penf_allocatable_memory program~volatile_doctest~35 volatile_doctest program~volatile_doctest~35->module~penf program~volatile_doctest~35->module~penf_allocatable_memory program~volatile_doctest~37 volatile_doctest program~volatile_doctest~37->module~penf program~volatile_doctest~37->module~penf_allocatable_memory program~volatile_doctest~38 volatile_doctest program~volatile_doctest~38->module~penf program~volatile_doctest~4 volatile_doctest program~volatile_doctest~4->module~penf program~volatile_doctest~4->module~penf_allocatable_memory program~volatile_doctest~40 volatile_doctest program~volatile_doctest~40->module~penf program~volatile_doctest~40->module~penf_allocatable_memory program~volatile_doctest~41 volatile_doctest program~volatile_doctest~41->module~penf program~volatile_doctest~41->module~penf_allocatable_memory program~volatile_doctest~42 volatile_doctest program~volatile_doctest~42->module~penf program~volatile_doctest~42->module~penf_allocatable_memory program~volatile_doctest~43 volatile_doctest program~volatile_doctest~43->module~penf program~volatile_doctest~43->module~penf_allocatable_memory program~volatile_doctest~44 volatile_doctest program~volatile_doctest~44->module~penf program~volatile_doctest~44->module~penf_allocatable_memory program~volatile_doctest~46 volatile_doctest program~volatile_doctest~46->module~penf program~volatile_doctest~46->module~penf_allocatable_memory program~volatile_doctest~47 volatile_doctest program~volatile_doctest~47->module~penf program~volatile_doctest~47->module~penf_allocatable_memory program~volatile_doctest~5 volatile_doctest program~volatile_doctest~5->module~penf program~volatile_doctest~5->module~penf_allocatable_memory program~volatile_doctest~50 volatile_doctest program~volatile_doctest~50->module~penf program~volatile_doctest~50->module~penf_allocatable_memory program~volatile_doctest~52 volatile_doctest program~volatile_doctest~52->module~penf program~volatile_doctest~52->module~penf_allocatable_memory program~volatile_doctest~53 volatile_doctest program~volatile_doctest~53->module~penf program~volatile_doctest~53->module~penf_allocatable_memory program~volatile_doctest~54 volatile_doctest program~volatile_doctest~54->module~penf program~volatile_doctest~54->module~penf_allocatable_memory program~volatile_doctest~56 volatile_doctest program~volatile_doctest~56->module~penf program~volatile_doctest~56->module~penf_allocatable_memory program~volatile_doctest~60 volatile_doctest program~volatile_doctest~60->module~penf program~volatile_doctest~63 volatile_doctest program~volatile_doctest~63->module~penf program~volatile_doctest~63->module~penf_allocatable_memory program~volatile_doctest~66 volatile_doctest program~volatile_doctest~66->module~penf program~volatile_doctest~66->module~penf_allocatable_memory program~volatile_doctest~67 volatile_doctest program~volatile_doctest~67->module~penf program~volatile_doctest~67->module~penf_allocatable_memory program~volatile_doctest~69 volatile_doctest program~volatile_doctest~69->module~penf program~volatile_doctest~69->module~penf_allocatable_memory program~volatile_doctest~7 volatile_doctest program~volatile_doctest~7->module~penf program~volatile_doctest~7->module~penf_allocatable_memory program~volatile_doctest~70 volatile_doctest program~volatile_doctest~70->module~penf program~volatile_doctest~71 volatile_doctest program~volatile_doctest~71->module~penf program~volatile_doctest~71->module~penf_allocatable_memory program~volatile_doctest~74 volatile_doctest program~volatile_doctest~74->module~penf program~volatile_doctest~74->module~penf_allocatable_memory program~volatile_doctest~78 volatile_doctest program~volatile_doctest~78->module~penf program~volatile_doctest~78->module~penf_allocatable_memory program~volatile_doctest~79 volatile_doctest program~volatile_doctest~79->module~penf program~volatile_doctest~79->module~penf_allocatable_memory program~volatile_doctest~8 volatile_doctest program~volatile_doctest~8->module~penf program~volatile_doctest~8->module~penf_allocatable_memory program~volatile_doctest~82 volatile_doctest program~volatile_doctest~82->module~penf program~volatile_doctest~82->module~penf_allocatable_memory program~volatile_doctest~83 volatile_doctest program~volatile_doctest~83->module~penf program~volatile_doctest~83->module~penf_allocatable_memory program~volatile_doctest~85 volatile_doctest program~volatile_doctest~85->module~penf program~volatile_doctest~88 volatile_doctest program~volatile_doctest~88->module~penf program~volatile_doctest~88->module~penf_allocatable_memory program~volatile_doctest~9 volatile_doctest program~volatile_doctest~9->module~penf program~volatile_doctest~9->module~penf_allocatable_memory program~volatile_doctest~90 volatile_doctest program~volatile_doctest~90->module~penf program~volatile_doctest~93 volatile_doctest program~volatile_doctest~93->module~penf program~volatile_doctest~93->module~penf_allocatable_memory program~volatile_doctest~94 volatile_doctest program~volatile_doctest~94->module~penf program~volatile_doctest~94->module~penf_allocatable_memory program~volatile_doctest~98 volatile_doctest program~volatile_doctest~98->module~penf program~volatile_doctest~98->module~penf_allocatable_memory

Interfaces

public interface str_ascii

Convert string of any kind to ASCII string.

  • private pure function str_ascii_default(input) result(output)

    Convert string of default kind to ASCII string.

     use penf
     character(len=:, kind=ASCII), allocatable :: string
     string = str_ascii('I was DEFAULT kind, but now I am ASCII')
     print "(A)", string
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: input

    Input string of default kind.

    Return Value character(kind=ASCII, len=:), allocatable

    Output string of ASCII kind.

public interface str_ucs4

Convert string of any kind to UCS4 string.

  • private pure function str_ucs4_default(input) result(output)

    Convert string of default kind to UCS4 string.

     use penf
     character(len=:, kind=UCS4), allocatable :: string
     string = str_ascii('I was DEFAULT kind, but now I am UCS4')
     print "(A)", string
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: input

    Input string of default kind.

    Return Value character(kind=UCS4, len=:), allocatable

    Output string of UCS4 kind.

public interface str

Convert number (real and integer) to string (number to string type casting).

  • private elemental function strf_R8P(fm, n) result(str)

    Convert real to string.

     use penf
     print "(A)", str(fm=FR8P, n=1._R8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    real(kind=R8P), intent(in) :: n

    Real to be converted.

    Return Value character(len=DR8P)

    Returned string containing input number.

  • private elemental function str_R8P(n, no_sign, compact) result(str)

    Convert real to string.

     use penf
     print "(A)", str(n=-1._R8P)
    
     use penf
     print "(A)", str(n=-1._R8P, no_sign=.true.)
    
     use penf
     print "(A)", str(n=-1._R8P, compact=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R8P), intent(in) :: n

    Real to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    logical, intent(in), optional :: compact

    Flag for compacting string encoding.

    Return Value character(len=DR8P)

    Returned string containing input number.

  • private elemental function strf_R4P(fm, n) result(str)

    Convert real to string.

     use penf
     print "(A)", str(fm=FR4P, n=1._R4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    real(kind=R4P), intent(in) :: n

    Real to be converted.

    Return Value character(len=DR4P)

    Returned string containing input number.

  • private elemental function str_R4P(n, no_sign, compact) result(str)

    Convert real to string.

     use penf
     print "(A)", str(n=-1._R4P)
    
     use penf
     print "(A)", str(n=-1._R4P, no_sign=.true.)
    
     use penf
     print "(A)", str(n=-1._R4P, compact=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R4P), intent(in) :: n

    Real to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    logical, intent(in), optional :: compact

    Flag for compacting string encoding.

    Return Value character(len=DR4P)

    Returned string containing input number.

  • private elemental function strf_I8P(fm, n) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(fm=FI8P, n=1_I8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    integer(kind=I8P), intent(in) :: n

    Integer to be converted.

    Return Value character(len=DI8P)

    Returned string containing input number.

  • private elemental function str_I8P(n, no_sign) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(n=-1_I8P)
    
     use penf
     print "(A)", str(n=-1_I8P, no_sign=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I8P), intent(in) :: n

    Integer to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    Return Value character(len=DI8P)

    Returned string containing input number plus padding zeros.

  • private elemental function strf_I4P(fm, n) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(fm=FI4P, n=1_I4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    integer(kind=I4P), intent(in) :: n

    Integer to be converted.

    Return Value character(len=DI4P)

    Returned string containing input number.

  • private elemental function str_I4P(n, no_sign) result(str)

    Converting integer to string.

     use penf
     print "(A)", str(n=-1_I4P)
    
     use penf
     print "(A)", str(n=-1_I4P, no_sign=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I4P), intent(in) :: n

    Integer to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    Return Value character(len=DI4P)

    Returned string containing input number plus padding zeros.

  • private elemental function strf_I2P(fm, n) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(fm=FI2P, n=1_I2P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    integer(kind=I2P), intent(in) :: n

    Integer to be converted.

    Return Value character(len=DI2P)

    Returned string containing input number.

  • private elemental function str_I2P(n, no_sign) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(n=-1_I2P)
    
     use penf
     print "(A)", str(n=-1_I2P, no_sign=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I2P), intent(in) :: n

    Integer to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    Return Value character(len=DI2P)

    Returned string containing input number plus padding zeros.

  • private elemental function strf_I1P(fm, n) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(fm=FI1P, n=1_I1P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: fm

    Format different from the standard for the kind.

    integer(kind=I1P), intent(in) :: n

    Integer to be converted.

    Return Value character(len=DI1P)

    Returned string containing input number.

  • private elemental function str_I1P(n, no_sign) result(str)

    Convert integer to string.

     use penf
     print "(A)", str(n=-1_I1P)
    
     use penf
     print "(A)", str(n=-1_I1P, no_sign=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I1P), intent(in) :: n

    Integer to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    Return Value character(len=DI1P)

    Returned string containing input number plus padding zeros.

  • private elemental function str_bol(n) result(str)

    Convert logical to string.

     use penf
     print "(A)", str(n=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    logical, intent(in) :: n

    Logical to be converted.

    Return Value character(len=1)

    Returned string containing input number plus padding zeros.

  • private pure function str_a_R8P(n, no_sign, separator, delimiters, compact) result(str)

    Convert real array to string.

     use penf
     print "(A)", str(n=[1._R8P, -2._R8P])
    
     use penf
     print "(A)", str(n=[1._R8P, 2._R8P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1._R8P, -2._R8P], separator='|')
    
     use penf
     print "(A)", str(n=[1._R8P, -2._R8P], delimiters=['(', ')'])
    
     use penf
     print "(A)", str(n=[1._R8P, -2._R8P], compact=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R8P), intent(in) :: n(:)

    Real array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    logical, intent(in), optional :: compact

    Flag for compacting string encoding.

    Return Value character(len=:), allocatable

    Returned string containing input number.

  • private pure function str_a_R4P(n, no_sign, separator, delimiters, compact) result(str)

    Convert real array to string.

     use penf
     print "(A)", str(n=[1._R4P, -2._R4P])
    
     use penf
     print "(A)", str(n=[1._R4P, 2._R4P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1._R4P, -2._R4P], separator='|')
    
     use penf
     print "(A)", str(n=[1._R4P, -2._R4P], delimiters=['(', ')'])
    
     use penf
     print "(A)", str(n=[1._R4P, -2._R4P], compact=.true.)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R4P), intent(in) :: n(:)

    Real array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    logical, intent(in), optional :: compact

    Flag for compacting string encoding.

    Return Value character(len=:), allocatable

    Returned string containing input number.

  • private pure function str_a_I8P(n, no_sign, separator, delimiters) result(str)

    Convert integer array to string.

     use penf
     print "(A)", str(n=[1_I8P, -2_I8P])
    
     use penf
     print "(A)", str(n=[1_I8P, 2_I8P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1_I8P, -2_I8P], separator='|')
    
     use penf
     print "(A)", str(n=[1_I8P, -2_I8P], delimiters=['(', ')'])
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I8P), intent(in) :: n(:)

    Integer array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    Return Value character(len=:), allocatable

    Returned string containing input number.

  • private pure function str_a_I4P(n, no_sign, separator, delimiters) result(str)

    Convert integer array to string.

     use penf
     print "(A)", str(n=[1_I4P, -2_I4P])
    
     use penf
     print "(A)", str(n=[1_I4P, 2_I4P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1_I4P, -2_I4P], separator='|')
    
     use penf
     print "(A)", str(n=[1_I4P, -2_I4P], delimiters=['(', ')'])
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I4P), intent(in) :: n(:)

    Integer array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    Return Value character(len=:), allocatable

    Returned string containing input number.

  • private pure function str_a_I2P(n, no_sign, separator, delimiters) result(str)

    Convert integer array to string.

     use penf
     print "(A)", str(n=[1_I2P, -2_I2P])
    
     use penf
     print "(A)", str(n=[1_I2P, 2_I2P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1_I2P, -2_I2P], separator='|')
    
     use penf
     print "(A)", str(n=[1_I2P, -2_I2P], delimiters=['(', ')'])
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I2P), intent(in) :: n(:)

    Integer array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    Return Value character(len=:), allocatable

    Returned string containing input number.

  • private pure function str_a_I1P(n, no_sign, separator, delimiters) result(str)

    Convert integer array to string.

     use penf
     print "(A)", str(n=[1_I1P, -2_I1P])
    
     use penf
     print "(A)", str(n=[1_I1P, 2_I1P], no_sign=.true.)
    
     use penf
     print "(A)", str(n=[1_I1P, -2_I1P], separator='|')
    
     use penf
     print "(A)", str(n=[1_I1P, -2_I1P], delimiters=['(', ')'])
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I1P), intent(in) :: n(:)

    Integer array to be converted.

    logical, intent(in), optional :: no_sign

    Flag for leaving out the sign.

    character(len=1), intent(in), optional :: separator

    Eventual separator of array values.

    character(len=*), intent(in), optional :: delimiters(1:2)

    Eventual delimiters of array values.

    Return Value character(len=:), allocatable

    Returned string containing input number.

public interface strz

Convert integer, to string, prefixing with the right number of zeros (integer to string type casting with zero padding).

  • private elemental function strz_I8P(n, nz_pad) result(str)

    Converting integer to string, prefixing with the right number of zeros.

     use penf
     print "(A)", strz(n=1_I8P)
    
     use penf
     print "(A)", strz(n=1_I8P, nz_pad=5)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I8P), intent(in) :: n

    Integer to be converted.

    integer(kind=I4P), intent(in), optional :: nz_pad

    Number of zeros padding.

    Return Value character(len=DI8P)

    Returned string containing input number plus padding zeros.

  • private elemental function strz_I4P(n, nz_pad) result(str)

    Convert integer to string, prefixing with the right number of zeros.

     use penf
     print "(A)", strz(n=1_I4P)
    
     use penf
     print "(A)", strz(n=1_I4P, nz_pad=5)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I4P), intent(in) :: n

    Integer to be converted.

    integer(kind=I4P), intent(in), optional :: nz_pad

    Number of zeros padding.

    Return Value character(len=DI4P)

    Returned string containing input number plus padding zeros.

  • private elemental function strz_I2P(n, nz_pad) result(str)

    Convert integer to string, prefixing with the right number of zeros.

     use penf
     print "(A)", strz(n=1_I2P)
    
     use penf
     print "(A)", strz(n=1_I2P, nz_pad=3)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I2P), intent(in) :: n

    Integer to be converted.

    integer(kind=I4P), intent(in), optional :: nz_pad

    Number of zeros padding.

    Return Value character(len=DI2P)

    Returned string containing input number plus padding zeros.

  • private elemental function strz_I1P(n, nz_pad) result(str)

    Convert integer to string, prefixing with the right number of zeros.

     use penf
     print "(A)", strz(n=1_I1P)
    
     use penf
     print "(A)", strz(n=1_I1P, nz_pad=3)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I1P), intent(in) :: n

    Integer to be converted.

    integer(kind=I4P), intent(in), optional :: nz_pad

    Number of zeros padding.

    Return Value character(len=DI1P)

    Returned string containing input number plus padding zeros.

public interface cton

Convert string to number (real and integer, string to number type casting).

  • private function ctor_R8P(str, knd, pref, error) result(n)

    Convert string to real.

     use penf
     print FR8P, cton(str='-1.0', knd=1._R8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    real(kind=R8P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value real(kind=R8P)

    Number returned.

  • private function ctor_R4P(str, knd, pref, error) result(n)

    Convert string to real.

     use penf
     print FR4P, cton(str='-1.0', knd=1._R4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    real(kind=R4P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value real(kind=R4P)

    Number returned.

  • private function ctoi_I8P(str, knd, pref, error) result(n)

    Convert string to integer.

     use penf
     print FI8P, cton(str='-1', knd=1_I8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    integer(kind=I8P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value integer(kind=I8P)

    Number returned.

  • private function ctoi_I4P(str, knd, pref, error) result(n)

    Convert string to integer.

     use penf
     print FI4P, cton(str='-1', knd=1_I4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    integer(kind=I4P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value integer(kind=I4P)

    Number returned.

  • private function ctoi_I2P(str, knd, pref, error) result(n)

    Convert string to integer.

     use penf
     print FI2P, cton(str='-1', knd=1_I2P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    integer(kind=I2P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value integer(kind=I2P)

    Number returned.

  • private function ctoi_I1P(str, knd, pref, error) result(n)

    Convert string to integer.

     use penf
     print FI1P, cton(str='-1', knd=1_I1P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: str

    String containing input number.

    integer(kind=I1P), intent(in) :: knd

    Number kind.

    character(len=*), intent(in), optional :: pref

    Prefixing string.

    integer(kind=I4P), intent(out), optional :: error

    Error trapping flag: 0 no errors, >0 error occurs.

    Return Value integer(kind=I1P)

    Number returned.

public interface bstr

Convert number (real and integer) to bit-string (number to bit-string type casting).

  • private elemental function bstr_R8P(n) result(bstr)

    Convert real to string of bits.

    @note Note It is assumed that R8P is represented by means of 64 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1._R8P)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R8P), intent(in) :: n

    Real to be converted.

    Return Value character(len=64)

    Returned bit-string containing input number.

  • private elemental function bstr_R4P(n) result(bstr)

    Convert real to string of bits.

    @note Note It is assumed that R4P is represented by means of 32 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1._R4P)
    

    Arguments

    Type IntentOptional Attributes Name
    real(kind=R4P), intent(in) :: n

    Real to be converted.

    Return Value character(len=32)

    Returned bit-string containing input number.

  • private elemental function bstr_I8P(n) result(bstr)

    Convert integer to string of bits.

    @note Note It is assumed that I8P is represented by means of 64 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1_I8P)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I8P), intent(in) :: n

    Real to be converted.

    Return Value character(len=64)

    Returned bit-string containing input number.

  • private elemental function bstr_I4P(n) result(bstr)

    Convert integer to string of bits.

    @note Note It is assumed that I4P is represented by means of 32 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1_I4P)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I4P), intent(in) :: n

    Real to be converted.

    Return Value character(len=32)

    Returned bit-string containing input number.

  • private elemental function bstr_I2P(n) result(bstr)

    Convert integer to string of bits.

    @note Note It is assumed that I2P is represented by means of 16 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1_I2P)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I2P), intent(in) :: n

    Real to be converted.

    Return Value character(len=16)

    Returned bit-string containing input number.

  • private elemental function bstr_I1P(n) result(bstr)

    Convert integer to string of bits.

    @note Note It is assumed that I1P is represented by means of 8 bits, but this is not ensured in all architectures.

     use penf
     print "(A)", bstr(n=1_I1P)
    

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=I1P), intent(in) :: n

    Real to be converted.

    Return Value character(len=8)

    Returned bit-string containing input number.

public interface bcton

Convert bit-string to number (real and integer, bit-string to number type casting).

  • private elemental function bctor_R8P(bstr, knd) result(n)

    Convert bit-string to real.

     use penf
     print FR8P, bcton('0000000000000000000000000000000000000000000000001111000000111111', knd=1._R8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    real(kind=R8P), intent(in) :: knd

    Number kind.

    Return Value real(kind=R8P)

    Number returned.

  • private elemental function bctor_R4P(bstr, knd) result(n)

    Convert bit-string to real.

     use penf
     print FR4P, bcton('00000000000000001000000000111111', knd=1._R4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    real(kind=R4P), intent(in) :: knd

    Number kind.

    Return Value real(kind=R4P)

    Number returned.

  • private elemental function bctoi_I8P(bstr, knd) result(n)

    Convert bit-string to integer.

     use penf
     print FI8P, bcton('0000000000000000000000000000000000000000000000000000000000000001', knd=1_I8P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    integer(kind=I8P), intent(in) :: knd

    Number kind.

    Return Value integer(kind=I8P)

    Number returned.

  • private elemental function bctoi_I4P(bstr, knd) result(n)

    Convert bit-string to integer.

     use penf
     print FI4P, bcton('00000000000000000000000000000001', knd=1_I4P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    integer(kind=I4P), intent(in) :: knd

    Number kind.

    Return Value integer(kind=I4P)

    Number returned.

  • private elemental function bctoi_I2P(bstr, knd) result(n)

    Convert bit-string to integer.

     use penf
     print FI2P, bcton('0000000000000001', knd=1_I2P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    integer(kind=I2P), intent(in) :: knd

    Number kind.

    Return Value integer(kind=I2P)

    Number returned.

  • private elemental function bctoi_I1P(bstr, knd) result(n)

    Convert bit-string to integer.

     use penf
     print FI1P, bcton('00000001', knd=1_I1P)
    

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: bstr

    String containing input number.

    integer(kind=I1P), intent(in) :: knd

    Number kind.

    Return Value integer(kind=I1P)

    Number returned.


Functions

private pure function str_ascii_default(input) result(output)

Convert string of default kind to ASCII string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input

Input string of default kind.

Return Value character(kind=ASCII, len=:), allocatable

Output string of ASCII kind.

private pure function str_ascii_ascii(input) result(output)

Convert string of ASCII kind to ASCII string, just for convenience in sanitize strings.

Read more…

Arguments

Type IntentOptional Attributes Name
character(kind=ASCII, len=*), intent(in) :: input

Input string of ASCII kind.

Return Value character(kind=ASCII, len=:), allocatable

Output string of ASCII kind.

private pure function str_ascii_ucs4(input) result(output)

Convert string of UCS4 kind to ASCII string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(kind=UCS4, len=*), intent(in) :: input

Input string of UCS4 kind.

Return Value character(kind=ASCII, len=:), allocatable

Output string of ASCII kind.

private pure function str_ucs4_default(input) result(output)

Convert string of default kind to UCS4 string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input

Input string of default kind.

Return Value character(kind=UCS4, len=:), allocatable

Output string of UCS4 kind.

private pure function str_ucs4_ascii(input) result(output)

Convert string of ASCII kind to UCS4 string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(kind=ASCII, len=*), intent(in) :: input

Input string of ASCII kind.

Return Value character(kind=UCS4, len=:), allocatable

Output string of UCS4 kind.

private pure function str_ucs4_ucs4(input) result(output)

Convert string of UCS4 kind to UCS4 string, just for convenience in sanitize strings.

Read more…

Arguments

Type IntentOptional Attributes Name
character(kind=UCS4, len=*), intent(in) :: input

Input string of UCS4 kind.

Return Value character(kind=UCS4, len=:), allocatable

Output string of UCS4 kind.

private elemental function strf_R16P(fm, n) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

real(kind=R16P), intent(in) :: n

Real to be converted.

Return Value character(len=DR16P)

Returned string containing input number.

private elemental function strf_R8P(fm, n) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

real(kind=R8P), intent(in) :: n

Real to be converted.

Return Value character(len=DR8P)

Returned string containing input number.

private elemental function strf_R4P(fm, n) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

real(kind=R4P), intent(in) :: n

Real to be converted.

Return Value character(len=DR4P)

Returned string containing input number.

private elemental function strf_I8P(fm, n) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

integer(kind=I8P), intent(in) :: n

Integer to be converted.

Return Value character(len=DI8P)

Returned string containing input number.

private elemental function strf_I4P(fm, n) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

integer(kind=I4P), intent(in) :: n

Integer to be converted.

Return Value character(len=DI4P)

Returned string containing input number.

private elemental function strf_I2P(fm, n) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

integer(kind=I2P), intent(in) :: n

Integer to be converted.

Return Value character(len=DI2P)

Returned string containing input number.

private elemental function strf_I1P(fm, n) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fm

Format different from the standard for the kind.

integer(kind=I1P), intent(in) :: n

Integer to be converted.

Return Value character(len=DI1P)

Returned string containing input number.

private elemental function str_R16P(n, no_sign, compact) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R16P), intent(in) :: n

Real to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=DR16P)

Returned string containing input number.

private elemental function str_R8P(n, no_sign, compact) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R8P), intent(in) :: n

Real to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=DR8P)

Returned string containing input number.

private elemental function str_R4P(n, no_sign, compact) result(str)

Convert real to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R4P), intent(in) :: n

Real to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=DR4P)

Returned string containing input number.

private elemental function str_I8P(n, no_sign) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I8P), intent(in) :: n

Integer to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

Return Value character(len=DI8P)

Returned string containing input number plus padding zeros.

private elemental function str_I4P(n, no_sign) result(str)

Converting integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I4P), intent(in) :: n

Integer to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

Return Value character(len=DI4P)

Returned string containing input number plus padding zeros.

private elemental function str_I2P(n, no_sign) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I2P), intent(in) :: n

Integer to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

Return Value character(len=DI2P)

Returned string containing input number plus padding zeros.

private elemental function str_I1P(n, no_sign) result(str)

Convert integer to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I1P), intent(in) :: n

Integer to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

Return Value character(len=DI1P)

Returned string containing input number plus padding zeros.

private elemental function str_bol(n) result(str)

Convert logical to string.

Read more…

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: n

Logical to be converted.

Return Value character(len=1)

Returned string containing input number plus padding zeros.

private pure function str_a_R16P(n, no_sign, separator, delimiters, compact) result(str)

Converting real array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R16P), intent(in) :: n(:)

Real array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_R8P(n, no_sign, separator, delimiters, compact) result(str)

Convert real array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R8P), intent(in) :: n(:)

Real array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_R4P(n, no_sign, separator, delimiters, compact) result(str)

Convert real array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R4P), intent(in) :: n(:)

Real array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

logical, intent(in), optional :: compact

Flag for compacting string encoding.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_I8P(n, no_sign, separator, delimiters) result(str)

Convert integer array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I8P), intent(in) :: n(:)

Integer array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_I4P(n, no_sign, separator, delimiters) result(str)

Convert integer array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I4P), intent(in) :: n(:)

Integer array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_I2P(n, no_sign, separator, delimiters) result(str)

Convert integer array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I2P), intent(in) :: n(:)

Integer array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

Return Value character(len=:), allocatable

Returned string containing input number.

private pure function str_a_I1P(n, no_sign, separator, delimiters) result(str)

Convert integer array to string.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I1P), intent(in) :: n(:)

Integer array to be converted.

logical, intent(in), optional :: no_sign

Flag for leaving out the sign.

character(len=1), intent(in), optional :: separator

Eventual separator of array values.

character(len=*), intent(in), optional :: delimiters(1:2)

Eventual delimiters of array values.

Return Value character(len=:), allocatable

Returned string containing input number.

private elemental function strz_I8P(n, nz_pad) result(str)

Converting integer to string, prefixing with the right number of zeros.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I8P), intent(in) :: n

Integer to be converted.

integer(kind=I4P), intent(in), optional :: nz_pad

Number of zeros padding.

Return Value character(len=DI8P)

Returned string containing input number plus padding zeros.

private elemental function strz_I4P(n, nz_pad) result(str)

Convert integer to string, prefixing with the right number of zeros.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I4P), intent(in) :: n

Integer to be converted.

integer(kind=I4P), intent(in), optional :: nz_pad

Number of zeros padding.

Return Value character(len=DI4P)

Returned string containing input number plus padding zeros.

private elemental function strz_I2P(n, nz_pad) result(str)

Convert integer to string, prefixing with the right number of zeros.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I2P), intent(in) :: n

Integer to be converted.

integer(kind=I4P), intent(in), optional :: nz_pad

Number of zeros padding.

Return Value character(len=DI2P)

Returned string containing input number plus padding zeros.

private elemental function strz_I1P(n, nz_pad) result(str)

Convert integer to string, prefixing with the right number of zeros.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I1P), intent(in) :: n

Integer to be converted.

integer(kind=I4P), intent(in), optional :: nz_pad

Number of zeros padding.

Return Value character(len=DI1P)

Returned string containing input number plus padding zeros.

private function ctor_R16P(str, knd, pref, error) result(n)

Convert string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

real(kind=R16P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value real(kind=R16P)

Number returned.

private function ctor_R8P(str, knd, pref, error) result(n)

Convert string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

real(kind=R8P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value real(kind=R8P)

Number returned.

private function ctor_R4P(str, knd, pref, error) result(n)

Convert string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

real(kind=R4P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value real(kind=R4P)

Number returned.

private function ctoi_I8P(str, knd, pref, error) result(n)

Convert string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

integer(kind=I8P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value integer(kind=I8P)

Number returned.

private function ctoi_I4P(str, knd, pref, error) result(n)

Convert string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

integer(kind=I4P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value integer(kind=I4P)

Number returned.

private function ctoi_I2P(str, knd, pref, error) result(n)

Convert string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

integer(kind=I2P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value integer(kind=I2P)

Number returned.

private function ctoi_I1P(str, knd, pref, error) result(n)

Convert string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

String containing input number.

integer(kind=I1P), intent(in) :: knd

Number kind.

character(len=*), intent(in), optional :: pref

Prefixing string.

integer(kind=I4P), intent(out), optional :: error

Error trapping flag: 0 no errors, >0 error occurs.

Return Value integer(kind=I1P)

Number returned.

private elemental function bstr_R16P(n) result(bstr)

Convert real to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R16P), intent(in) :: n

Real to be converted.

Return Value character(len=128)

Returned bit-string containing input number.

private elemental function bstr_R8P(n) result(bstr)

Convert real to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R8P), intent(in) :: n

Real to be converted.

Return Value character(len=64)

Returned bit-string containing input number.

private elemental function bstr_R4P(n) result(bstr)

Convert real to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=R4P), intent(in) :: n

Real to be converted.

Return Value character(len=32)

Returned bit-string containing input number.

private elemental function bstr_I8P(n) result(bstr)

Convert integer to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I8P), intent(in) :: n

Real to be converted.

Return Value character(len=64)

Returned bit-string containing input number.

private elemental function bstr_I4P(n) result(bstr)

Convert integer to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I4P), intent(in) :: n

Real to be converted.

Return Value character(len=32)

Returned bit-string containing input number.

private elemental function bstr_I2P(n) result(bstr)

Convert integer to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I2P), intent(in) :: n

Real to be converted.

Return Value character(len=16)

Returned bit-string containing input number.

private elemental function bstr_I1P(n) result(bstr)

Convert integer to string of bits.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=I1P), intent(in) :: n

Real to be converted.

Return Value character(len=8)

Returned bit-string containing input number.

private elemental function bctor_R16P(bstr, knd) result(n)

Convert bit-string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

real(kind=R16P), intent(in) :: knd

Number kind.

Return Value real(kind=R16P)

Number returned.

private elemental function bctor_R8P(bstr, knd) result(n)

Convert bit-string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

real(kind=R8P), intent(in) :: knd

Number kind.

Return Value real(kind=R8P)

Number returned.

private elemental function bctor_R4P(bstr, knd) result(n)

Convert bit-string to real.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

real(kind=R4P), intent(in) :: knd

Number kind.

Return Value real(kind=R4P)

Number returned.

private elemental function bctoi_I8P(bstr, knd) result(n)

Convert bit-string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

integer(kind=I8P), intent(in) :: knd

Number kind.

Return Value integer(kind=I8P)

Number returned.

private elemental function bctoi_I4P(bstr, knd) result(n)

Convert bit-string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

integer(kind=I4P), intent(in) :: knd

Number kind.

Return Value integer(kind=I4P)

Number returned.

private elemental function bctoi_I2P(bstr, knd) result(n)

Convert bit-string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

integer(kind=I2P), intent(in) :: knd

Number kind.

Return Value integer(kind=I2P)

Number returned.

private elemental function bctoi_I1P(bstr, knd) result(n)

Convert bit-string to integer.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bstr

String containing input number.

integer(kind=I1P), intent(in) :: knd

Number kind.

Return Value integer(kind=I1P)

Number returned.


Subroutines

private pure subroutine compact_real_string(string)

Author
Izaak Beekman
Date
02/24/2015

Compact a string representing a real number, so that the same value is displayed with fewer characters.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(inout) :: string

string representation of a real number.