Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 05Ki (0.04 sec)

  1. src/fmt/fmt_test.go

    	{"%#.0g", 1.23 + 1.0i, "(1.+1.i)"},
    	{"%#.0g", 0 + 100000i, "(0.+1.e+05i)"},
    	{"%#.0g", 1230000 + 0i, "(1.e+06+0.i)"},
    	{"%#.4f", 1 + 1.23i, "(1.0000+1.2300i)"},
    	{"%#.4e", 123 + 1i, "(1.2300e+02+1.0000e+00i)"},
    	{"%#.4x", 123 + 1i, "(0x1.ec00p+06+0x1.0000p+00i)"},
    	{"%#.4g", 123 + 1.23i, "(123.0+1.230i)"},
    	{"%#12.5g", 0 + 100000i, "(      0.0000 +1.0000e+05i)"},
    	{"%#12.5g", 1230000 - 0i, "(  1.2300e+06     +0.0000i)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{"12E", decQuantity(12, 18, DecimalSI)},
    
    		// We'll accept fractional binary stuff, too.
    		{"100.035Ki", decQuantity(10243584, -2, BinarySI)},
    		{"0.5Mi", decQuantity(.5*1024*1024, 0, BinarySI)},
    		{"0.05Gi", decQuantity(536870912, -1, BinarySI)},
    		{"0.025Ti", decQuantity(274877906944, -1, BinarySI)},
    
    		// Things written by trolls
    		{"0.000000000001Ki", decQuantity(2, -9, DecimalSI)}, // rounds up, changes format
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top