/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue68322.go
17 строк
351 B
Jorropo
math: remove riscv64 assembly implementations of rounding
10 июл 2024, 06:19
10 июл 2024, 06:19
b304067
Код
Авторство
О чём код?
// run // Copyright 2024 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" var doNotFold = 18446744073709549568.0 func main() { if math.Trunc(doNotFold) != doNotFold { panic("big (over 2**63-1) math.Trunc is incorrect") } }