kubernetes/third_party/golang/go/constant/go14.go
Daniel Smith 4deda6ea98 Vendor in go1.5.1 dependency
* Changes to make vendored packages accept new home.
* Fix go2idl to import vendored packages.
2015-10-21 09:56:36 -07:00

14 lines
285 B
Go

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.4
package constant
import "math/big"
func ratToFloat32(x *big.Rat) (float32, bool) {
return x.Float32()
}