Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTruncateRound (0.12 sec)

  1. src/time/time_test.go

    	{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
    }
    
    func TestTruncateRound(t *testing.T) {
    	var (
    		bsec  = new(big.Int)
    		bnsec = new(big.Int)
    		bd    = new(big.Int)
    		bt    = new(big.Int)
    		br    = new(big.Int)
    		bq    = new(big.Int)
    		b1e9  = new(big.Int)
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top