Version experimental
Generation of random integers with different kinds (Specification)
Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int8), | intent(in) | :: | n |
Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int16), | intent(in) | :: | n |
Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n |
Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | n |
Version experimental
Set seed value for random number generator (Specification)
Set seed value for random number generator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int8), | intent(in) | :: | put | |||
integer(kind=int8), | intent(out) | :: | get |
Set seed value for random number generator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int16), | intent(in) | :: | put | |||
integer(kind=int16), | intent(out) | :: | get |
Set seed value for random number generator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | put | |||
integer(kind=int32), | intent(out) | :: | get |
Set seed value for random number generator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | put | |||
integer(kind=int64), | intent(out) | :: | get |