def _int_arith_flags(rettype):
 if rettype.signed:
  return ['nsw']
 else:
  return []

def _int_arith_flags ( rettype ) : if rettype . signed : return [ 'nsw' ] else : return [ ]
return the modifier flags for integer arithmetic .