/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue6902.go
21 строка
333 B
Jan Ziak
cmd/gc: round floats with a large negative exponent towards zero
24 мар 2014, 21:10
24 мар 2014, 21:10
a43673c
Код
Авторство
О чём код?
// run // 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. // Issue 6902: confusing printing of large floating point constants package main import ( "os" ) var x = -1e-10000 func main() { if x != 0 { os.Exit(1) } }