You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: literal.go
    path of file: ./repos/gomacro/fast
    
    the code of the file until where you have to start completion: /*
 * gomacro - A Go interpreter with Lisp-like macros
 *
 * Copyright (C) 2017-2019 Massimiliano Ghilardi
 *
 *     This Source Code Form is subject to the terms of the Mozilla Public
 *     License, v. 2.0. If a copy of the MPL was not distributed with this
 *     file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 *
 * literal.go
 *
 *  Created on Apr 01, 2017
 *      Author Massimiliano Ghilardi
 */

package fast

import (
	"go/ast"
	"go/constant"
	"go/token"
	"math/big"
	r "reflect"

	"github.com/cosmos72/gomacro/base/output"

	"github.com/cosmos72/gomacro/base/reflect"
	"github.com/cosmos72/gomacro/base/untyp
    
func isLiteralNumber(x I, n int64) bool {
	if x == nil {
		return false
	}
	v := xr.ValueOf(x)
	switch reflect.Category(v.Kind()) {
	case xr.Bool:
		return false
	case xr.Int:
		return v.Int() == n
	case xr.Uint:
		// n == -1 means "unsigned integer equals its maximum value"
		// similarly, n == -2 means "unsigned integer equals its maximum value minus 1"
		// and so on...
		return v.Uint() == uint64(n)
	case xr.Float64:
		return v.Float() == float64(n)
	case xr.Complex128:
		return v.Complex() == complex(float64(n), 0)
	case xr.String:
		return false
	}
	// no luck yet... try harder
	switch x := x.(type) {
	case xr.Value:
		return false
	case UntypedLit:
		return x.EqualInt64(n)
	}
	output.Errorf("isLiteralNumber: unexpected literal type %v <%v>", x, r.TypeOf(x))
	return false
}