Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 216 for arithmetic (0.14 sec)

  1. src/math/cmplx/exp.go

    //
    // If
    //     z = x + iy,
    //     r = exp(x),
    // then
    //     w = r cos y + i r sin y.
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    DEC       -10,+10      8700       3.7e-17     1.1e-17
    //    IEEE      -10,+10     30000       3.0e-16     8.7e-17
    
    // Exp returns e**x, the base-e exponential of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. test/ken/cplx2.go

    // run
    
    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test arithmetic on complex numbers, including multiplication and division.
    
    package main
    
    const (
    	R = 5
    	I = 6i
    
    	C1 = R + I    // ADD(5,6)
    	C2 = R - I    // SUB(5,-6)
    	C3 = -(R + I) // ADD(5,6) NEG(-5,-6)
    	C4 = -(R - I) // SUB(5,-6) NEG(-5,6)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1.9K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

      }
    
      virtual ~UniformQuantizedValueConverter() = default;
    
     private:
      // An optimized implementation to quantize f32 to i8/u8 with C++ native
      // arithmetic.
      virtual APInt quantizeF32ToInt8(const APFloat& expressed_value) const {
        assert(&expressed_value.getSemantics() == &APFloat::IEEEsingle());
        assert(storage_bit_width_ == 8);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigDecimalMath.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/passes.h

    // tables to TensorFlow Lite hash tables.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHashTablesPass();
    
    // Creates get arithmetic count pass, which will calculate the arithmetic count
    // for each ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateGetArithmeticCountPass();
    
    // Creates unfold large constant pass, which will replace large splat constant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This program generates a test to verify that the standard arithmetic
    // operators properly handle const cases. The test file should be
    // generated with a known working version of go.
    // launch with `go run arithConstGen.go` a file called arithConst.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. src/strconv/ftoa_test.go

    	{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"},
    
    	{math.NaN(), 'g', -1, "NaN"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  9. src/internal/abi/type.go

    	Bytes *byte
    }
    
    // DataChecked does pointer arithmetic on n's Bytes, and that arithmetic is asserted to
    // be safe for the reason in whySafe (which can appear in a backtrace, etc.)
    func (n Name) DataChecked(off int, whySafe string) *byte {
    	return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe))
    }
    
    // Data does pointer arithmetic on n's Bytes, and that arithmetic is asserted to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. src/math/tanh.go

    // x + x**3 P(x)/Q(x) of Cody & Waite is employed.
    // Otherwise,
    //      tanh(x) = sinh(x)/cosh(x) = 1  -  2/(exp(2x) + 1).
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    IEEE      -2,2        30000       2.5e-16     5.8e-17
    //
    // Cephes Math Library Release 2.8:  June, 2000
    // Copyright 1984, 1987, 1989, 1992, 2000 by Stephen L. Moshier
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top