Implemented generic numeric types