1
0
mirror of https://github.com/golang/go synced 2024-11-27 00:01:23 -07:00
go/test/fixedbugs/issue6899.go
Carl Shapiro f574726f16 runtime: check for signed zero in printfloat
Fixes #6899

R=golang-dev, r, cshapiro, iant, rsc
CC=golang-dev
https://golang.org/cl/38120043
2013-12-09 17:51:30 -08:00

14 lines
248 B
Go

// cmpout
// Copyright 2013 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.
package main
import "math"
func main() {
println(math.Copysign(0, -1))
}