Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 1e (0.03 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		{`package e6; const _ = complex128( 1e-2000)`, `complex128(1e-2000)`, `complex128`, `(0 + 0i)`},
    		{`package e7; const _ = complex128(-1e-2000)`, `complex128(-1e-2000)`, `complex128`, `(0 + 0i)`},
    
    		{`package f0 ; var _ float32 =  1e-200`, `1e-200`, `float32`, `0`},
    		{`package f1 ; var _ float32 = -1e-200`, `-1e-200`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		{`package e6; const _ = complex128( 1e-2000)`, `complex128(1e-2000)`, `complex128`, `(0 + 0i)`},
    		{`package e7; const _ = complex128(-1e-2000)`, `complex128(-1e-2000)`, `complex128`, `(0 + 0i)`},
    
    		{`package f0 ; var _ float32 =  1e-200`, `1e-200`, `float32`, `0`},
    		{`package f1 ; var _ float32 = -1e-200`, `-1e-200`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/math/all_test.go

    	{0.01, 99.4325851191506},
    	{1e-08, 9.999999942278434e+07},
    	{1e-16, 1e+16},
    	{0.001, 999.4237724845955},
    	{1e-16, 1e+16},
    	{1e-308, 1e+308},
    	{5.6e-309, 1.7857142857142864e+308},
    	{5.5e-309, Inf(1)},
    	{1e-309, Inf(1)},
    	{1e-323, Inf(1)},
    	{5e-324, Inf(1)},
    	{-0.1, -10.686287021193193},
    	{-0.01, -100.58719796441078},
    	{-1e-08, -1.0000000057721567e+08},
    	{-1e-16, -1e+16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	{"%e", -7.0, "-7.000000e+00"},
    	{"%e", -1e-9, "-1.000000e-09"},
    	{"%f", 1234.5678e3, "1234567.800000"},
    	{"%f", 1234.5678e-8, "0.000012"},
    	{"%f", -7.0, "-7.000000"},
    	{"%f", -1e-9, "-0.000000"},
    	{"%g", 1234.5678e3, "1.2345678e+06"},
    	{"%g", float32(1234.5678e3), "1.2345678e+06"},
    	{"%g", 1234.5678e-8, "1.2345678e-05"},
    	{"%g", -7.0, "-7"},
    	{"%g", -1e-9, "-1e-09"},
    	{"%g", float32(-1e-9), "-1e-09"},
    	{"%E", 1.0, "1.000000E+00"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. src/math/big/float_test.go

    		{"-1", "-1", Exact},
    		{"1.23", "1", Below},
    		{"-1.23", "-1", Above},
    		{"123e-2", "1", Below},
    		{"123e-3", "0", Below},
    		{"123e-4", "0", Below},
    		{"1e-1000", "0", Below},
    		{"-1e-1000", "0", Above},
    		{"1e+10", "10000000000", Exact},
    		{"1e+100", "10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", Exact},
    	} {
    		x := makeFloat(test.x)
    		res, acc := x.Int(nil)
    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. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{"5T", decQuantity(5, 12, DecimalSI)},
    		{"40T", decQuantity(4, 13, DecimalSI)},
    		{"300T", decQuantity(3, 14, DecimalSI)},
    		{"2P", decQuantity(2, 15, DecimalSI)},
    		{"1E", decQuantity(1, 18, DecimalSI)},
    
    		// Decimal exponents
    		{"1E-3", decQuantity(1, -3, DecimalExponent)},
    		{"1e3", decQuantity(1, 3, DecimalExponent)},
    		{"1E6", decQuantity(1, 6, DecimalExponent)},
    		{"1e9", decQuantity(1, 9, DecimalExponent)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. src/encoding/json/decode_test.go

    	{CaseName: Name(""), in: `1e-7`, ptr: new(float64), out: 1e-7, golden: true},
    	{CaseName: Name(""), in: `100000000000000000000`, ptr: new(float64), out: 100000000000000000000.0, golden: true},
    	{CaseName: Name(""), in: `1e+21`, ptr: new(float64), out: 1e21, golden: true},
    	{CaseName: Name(""), in: `-0.000001`, ptr: new(float64), out: -0.000001, golden: true},
    	{CaseName: Name(""), in: `-1e-7`, ptr: new(float64), out: -1e-7, golden: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

    }
    
    void VerifyQuantizationScale(
        const QuantizationParameters& float_quant_params,
        const QuantizationParametersT& quantized_quant_params, const int bit_num,
        const bool symmetric) {
      const float eps = 1e-7;
      ASSERT_THAT(*float_quant_params.min(), SizeIs(1));
      ASSERT_THAT(*float_quant_params.max(), SizeIs(1));
      float float_min = std::min(0.f, float_quant_params.min()->Get(0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. src/math/big/int_test.go

    		n, _ := new(Int).SetString("1"+strings.Repeat("0", i), 10)
    		r := new(Int).Sqrt(n)
    		root, _ := new(Int).SetString("1"+strings.Repeat("0", i/2), 10)
    		if r.Cmp(root) != 0 {
    			t.Errorf("Sqrt(1e%d) = %v, want 1e%d", i, r, i/2)
    		}
    	}
    
    	// Test aliasing.
    	r.SetInt64(100)
    	r.Sqrt(r)
    	if r.Int64() != 10 {
    		t.Errorf("Sqrt(100) = %v, want 10 (aliased output)", r.Int64())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

               TFL_AF_None),
               (TFL_L2NormalizationOp $x, TFL_AF_None),
               [(L2NormValidReduceIndex $sq_op, $axis),
                (ConstDoubleValueLessThan<"1e-3"> $epsilon)]>;
    
      def L2NormalizePattern3#FirstOp#SecondOp : Pat<
                        (FirstOp $x,
                         (SecondOp
                          (TFL_MaximumOp
                           (TFL_SumOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top