Functions to check the bounds of int8, int16, int32 values.
Receives a default kind integer, checks its bounds (Fortran signed int), fixes it if needed, and returns an int16:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i |
Receives a default kind integer, checks its bounds (Fortran signed int), fixes it if needed, and returns an int32.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i |
Receives a default kind integer, checks its MIDI bounds (15 or 127), fixes it if needed, and returns an int8:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i | |||
integer, | intent(in), | optional | :: | upper |