Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 368 for 1e10 (0.04 sec)

  1. src/strconv/ftoa_test.go

    	{above1e23, 'e', -1, "1.0000000000000001e+23"},
    	{above1e23, 'f', -1, "100000000000000010000000"},
    	{above1e23, 'g', -1, "1.0000000000000001e+23"},
    
    	{fdiv(5e-304, 1e20), 'g', -1, "5e-324"},   // avoid constant arithmetic
    	{fdiv(-5e-304, 1e20), 'g', -1, "-5e-324"}, // avoid constant arithmetic
    
    	{32, 'g', -1, "32"},
    	{32, 'g', 0, "3e+01"},
    
    	{100, 'x', -1, "0x1.9p+06"},
    	{100, 'y', -1, "%y"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. src/go/constant/value_test.go

    	`"" + "bar" = "bar"`,
    	`"foo" + "bar" = "foobar"`,
    
    	`0 + 0 = 0`,
    	`0 + 0.1 = 0.1`,
    	`0 + 0.1i = 0.1i`,
    	`0.1 + 0.9 = 1`,
    	`1e100 + 1e100 = 2e100`,
    	`? + 0 = ?`,
    	`0 + ? = ?`,
    
    	`0 - 0 = 0`,
    	`0 - 0.1 = -0.1`,
    	`0 - 0.1i = -0.1i`,
    	`1e100 - 1e100 = 0`,
    	`? - 0 = ?`,
    	`0 - ? = ?`,
    
    	`0 * 0 = 0`,
    	`1 * 0.1 = 0.1`,
    	`1 * 0.1i = 0.1i`,
    	`1i * 1i = -1`,
    	`? * 0 = ?`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  3. src/strconv/ftoaryu.go

    	// Proceed to the requested number of digits
    	formatDecimal(d, di, !d0, roundUp, prec)
    	// Adjust exponent
    	d.dp -= q
    }
    
    var uint64pow10 = [...]uint64{
    	1, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
    	1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
    }
    
    // formatDecimal fills d with at most prec decimal digits
    // of mantissa m. The boolean trunc indicates whether m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  4. src/strconv/eisel_lemire.go

    	{0x0000000000000000, 0x9502F90000000000}, // 1e10
    	{0x0000000000000000, 0xBA43B74000000000}, // 1e11
    	{0x0000000000000000, 0xE8D4A51000000000}, // 1e12
    	{0x0000000000000000, 0x9184E72A00000000}, // 1e13
    	{0x0000000000000000, 0xB5E620F480000000}, // 1e14
    	{0x0000000000000000, 0xE35FA931A0000000}, // 1e15
    	{0x0000000000000000, 0x8E1BC9BF04000000}, // 1e16
    	{0x0000000000000000, 0xB1A2BC2EC5000000}, // 1e17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 41.4K bytes
    - Viewed (0)
  5. src/math/big/float_test.go

    			t.Errorf("got %#x (%s); want %#x", got, f.Text('p', 0), want)
    		}
    	}
    }
    
    func TestFloatSetFloat64(t *testing.T) {
    	for _, want := range []float64{
    		0,
    		1,
    		2,
    		12345,
    		1e10,
    		1e100,
    		3.14159265e10,
    		2.718281828e-123,
    		1.0 / 3,
    		math.MaxFloat32,
    		math.MaxFloat64,
    		math.SmallestNonzeroFloat32,
    		math.SmallestNonzeroFloat64,
    		math.Inf(-1),
    		math.Inf(0),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  6. src/fmt/fmt_test.go

    	{"%+.3g", 1 + 2i, "(+1+2i)"},
    	{"%+.3g", complex64(1 + 2i), "(+1+2i)"},
    	{"%#g", 1 + 2i, "(1.00000+2.00000i)"},
    	{"%#g", 123456 + 789012i, "(123456.+789012.i)"},
    	{"%#g", 1e-10i, "(0.00000+1.00000e-10i)"},
    	{"%#g", -1e10 - 1.11e100i, "(-1.00000e+10-1.11000e+100i)"},
    	{"%#.0f", 1.23 + 1.0i, "(1.+1.i)"},
    	{"%#.0e", 1.23 + 1.0i, "(1.e+00+1.e+00i)"},
    	{"%#.0x", 1.23 + 1.0i, "(0x1.p+00+0x1.p+00i)"},
    	{"%#.0g", 1.23 + 1.0i, "(1.+1.i)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  7. test/inline_big.go

    	a[97] = 0
    	a[98] = 0
    	a[99] = 0
    	a[100] = 0
    	a[101] = 0
    	a[102] = 0
    	a[103] = 0
    	a[104] = 0
    	a[105] = 0
    	a[106] = 0
    	a[107] = 0
    	a[108] = 0
    	a[109] = 0
    	a[110] = 0
    	a[111] = 0
    	a[112] = 0
    	a[113] = 0
    	a[114] = 0
    	a[115] = 0
    	a[116] = 0
    	a[117] = 0
    	a[118] = 0
    	a[119] = 0
    	a[120] = 0
    	a[121] = 0
    	a[122] = 0
    	a[123] = 0
    	a[124] = 0
    	a[125] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 18 11:58:37 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom

        </dependency>
      </dependencies>
      <scm>
        <connection>scm:svn:http://svn.codehaus.org/plexus/pom/tags/plexus-1.0.10</connection>
        <developerConnection>scm:svn:https://svn.codehaus.org/plexus/pom/tags/plexus-1.0.10</developerConnection>
        <url>http://fisheye.codehaus.org/browse/plexus/pom/tags/plexus-1.0.10</url>
      </scm>
      <organization>
        <name>Codehaus</name>
        <url>http://www.codehaus.org/</url>
      </organization>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:09:10 UTC 2020
    - 7.8K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom

        </dependency>
      </dependencies>
      <scm>
        <connection>scm:svn:http://svn.codehaus.org/plexus/pom/tags/plexus-1.0.10</connection>
        <developerConnection>scm:svn:https://svn.codehaus.org/plexus/pom/tags/plexus-1.0.10</developerConnection>
        <url>http://fisheye.codehaus.org/browse/plexus/pom/tags/plexus-1.0.10</url>
      </scm>
      <organization>
        <name>Codehaus</name>
        <url>http://www.codehaus.org/</url>
      </organization>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  10. test/literal2.go

    	assert(1_0. == 10.0)
    	assert(.0_1 == 0.01)
    	assert(1_0.0_1 == 10.01)
    	assert(1_0.0_1i == complex(0, 10.01))
    
    	assert(0.e1_0 == 0.0e10)
    	assert(.0e1_0 == 0.0e10)
    	assert(1_0.e1_0 == 10.0e10)
    	assert(.0_1e1_0 == 0.01e10)
    	assert(1_0.0_1e1_0 == 10.01e10)
    	assert(1_0.0_1e1_0i == complex(0, 10.01e10))
    
    	// hexadecimal floats
    	assert(equal(0x1p-2, 0.25))
    	assert(equal(0x2.p10, 2048.0))
    	assert(equal(0x1.Fp+0, 1.9375))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 19 22:45:09 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top