calculations with lomg arithmetic