- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 5e8 (0.01 sec)
-
src/strconv/ftoaryu.go
ryuDigits32(d, llo, clo, ulo, c0, cup, 8) } else if lhi < uhi { // truncate 9 digits at once. if llo != 0 { lhi++ } c0 = c0 && clo == 0 cup = (clo > 5e8) || (clo == 5e8 && cup) ryuDigits32(d, lhi, chi, uhi, c0, cup, 8) d.dp += 9 } else { d.nd = 0 // emit high part n := uint(9) for v := chi; v > 0; { v1, v2 := v/10, v%10 v = v1 n--
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 00:28:56 UTC 2022 - 15.7K bytes - Viewed (0) -
src/time/time_test.go
} var truncateRoundTests = []struct { t Time d Duration }{ {Date(-1, January, 1, 12, 15, 30, 5e8, UTC), 3}, {Date(-1, January, 1, 12, 15, 31, 5e8, UTC), 3}, {Date(2012, January, 1, 12, 15, 30, 5e8, UTC), Second}, {Date(2012, January, 1, 12, 15, 31, 5e8, UTC), Second}, {Unix(-19012425939, 649146258), 7435029458905025217}, // 5.8*d rounds to 6*d, but .8*d+.8*d < 0 < d }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
return err } path = dirPath + "/" + path } if flags == AT_SYMLINK_NOFOLLOW { if len(ts) != 2 { return EINVAL } if ts[0].Nsec >= 5e8 { ts[0].Sec++ } ts[0].Nsec = 0 if ts[1].Nsec >= 5e8 { ts[1].Sec++ } ts[1].Nsec = 0 // Not as efficient as it could be because Timespec and // Timeval have different types in the different OSes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0)