Logic and arithmetic operations implemented in language core