?lamch supports s, d. See mfi_lamch for the modern version.
DLAMCH determines double precision machine parameters.