/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue25322.go
23 строки
378 B
Yury Smolsky
test: remove rundircmpout and cmpout actions
31 май 2018, 20:36
31 май 2018, 20:36
57d40f1
Код
Авторство
О чём код?
// run // Copyright 2018 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. // Missing zero extension when converting a float32 // to a uint64. package main import ( "fmt" "math" ) func Foo(v float32) { fmt.Printf("%x\n", uint64(math.Float32bits(v))) } func main() { Foo(2.0) }