common implement for touint depending on toint for architectures that don't have it