DCS
a Driven-Cavity Open source Simulator code
 All Classes Files Functions Variables Groups Pages
IR_Precision.f90 File Reference

Go to the source code of this file.

Data Types

module  ir_precision
 Module IR_Precision makes available some portable kind-parameters and some useful procedures to deal with them. More...
 
interface  ir_precision::bit_size
 Overloading of the intrinsic "bit_size" function for computing the number of bits of (also) real and character variables; variable, intent(IN):: n input; integer(I1P), intent(OUT):: bits output number of bits of input number. More...
 
interface  ir_precision::byte_size
 Overloading of the "byte_size" function for computing the number of bytes. More...
 
interface  ir_precision::str
 Procedure for converting number, real and integer, to string (number to string type casting); logical, intent(IN), optional:: no_sign flag for do not write sign; number, intent(IN):: n input number; string, intent(OUT):: str output string. More...
 
interface  ir_precision::strz
 Procedure for converting number, integer, to string, prefixing with the right number of zeros (number to string type casting with zero padding); number, intent(IN), optional:: no_zpad number of padding zeros; number, intent(IN):: n input number; string, intent(OUT):: str output string. More...
 
interface  ir_precision::cton
 Procedure for converting string to number, real or initeger, (string to number type casting); string, intent(IN):: str input string; number, intent(OUT):: n output number. More...
 
interface  ir_precision::bstr
 Procedure for converting number, real and integer, to bit-string (number to bit-string type casting); number, intent(IN):: n input number; string, intent(OUT):: bstr output bit-string. More...
 
interface  ir_precision::bcton
 Procedure for converting bit-string to number, real or initeger, (bit-string to number type casting); string, intent(IN):: bstr input bit-string; number, intent(OUT):: n output number. More...