- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMulByLog2Log10 (0.2 sec)
-
src/strconv/ftoaryu_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package strconv_test import ( "math" . "strconv" "testing" ) func TestMulByLog2Log10(t *testing.T) { for x := -1600; x <= +1600; x++ { iMath := MulByLog2Log10(x) fMath := int(math.Floor(float64(x) * math.Ln2 / math.Ln10)) if iMath != fMath {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 08:44:21 UTC 2021 - 759 bytes - Viewed (0)