case int64: // signed integer -> numeric?
                switch kind {
                case types.Int:
                    return int(x)
                case types.Int8: