compiler/resolution/functionResolution.cpp
// Returns 'true' for types that are the type of numeric literals.
// e.g. 1 is an 'int', so this function returns 'true' for 'int'.
// e.g. 0.0 is a 'real', so this function returns 'true' for 'real'.
Returns 'true' for types that are the type of numeric literals.
Returns ' true ' for types that are the type of numeric literals .
bool isNumericParamDefaultType(Type* t)
{
  if (t == dtInt[INT_SIZE_DEFAULT] ||
      t == dtReal[FLOAT_SIZE_DEFAULT] ||
      t == dtImag[FLOAT_SIZE_DEFAULT] ||
      t == dtBools[BOOL_SIZE_DEFAULT])
    return true;
  return false;
}
bool isNumericParamDefaultType ( Type * t ) { if ( t == dtInt [ INT_SIZE_DEFAULT ] || t == dtReal [ FLOAT_SIZE_DEFAULT ] || t == dtImag [ FLOAT_SIZE_DEFAULT ] || t == dtBools [ BOOL_SIZE_DEFAULT ] ) return true ; return false ; }
Returns 'true' for types that are the type of numeric literals.
Returns ' true ' for types that are the type of numeric literals .