- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFloatTruncation (0.32 sec)
-
src/runtime/conv_wasm_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime_test import ( "testing" ) var res int64 var ures uint64 func TestFloatTruncation(t *testing.T) { testdata := []struct { input float64 convInt64 int64 convUInt64 uint64 overflow bool }{ // max +- 1 { input: 0x7fffffffffffffff,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 06 13:55:00 UTC 2020 - 3K bytes - Viewed (0)