OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [strconv/] [internal_test.go] - Blame information for rev 861

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// Copyright 2009 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
 
5
// export access to strconv internals for tests
6
 
7
package strconv
8
 
9
func NewDecimal(i uint64) *decimal {
10
        d := new(decimal)
11
        d.Assign(i)
12
        return d
13
}
14
 
15
func SetOptimize(b bool) bool {
16
        old := optimize
17
        optimize = b
18
        return old
19
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.