What is is_hex_digit(c) in Fortran?
is_hex_digit(c) is a public pure function in the stdlib_ascii module. This module provides methods to manipulate and handle intrinsic character variables and constants.
The is_hex_digit function checks whether its argument is a digit in base 16 (0…9, A…F, a…f) or not.
Syntax
public pure function is_hex_digit(c)
Parameters
cis the character to test.
Return value
The function returns a logical value.
It will return
trueif the character is a hexadecimal digit andfalseotherwise.