Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 105 for power9 (0.14 sec)

  1. src/math/cmplx/pow.go

    // source listings for the gamma function and the incomplete beta
    // integral.
    //
    //   Stephen L. Moshier
    //   ******@****.***
    
    // Complex power function
    //
    // DESCRIPTION:
    //
    // Raises complex A to the complex Zth power.
    // Definition is per AMS55 # 4.2.8,
    // analytically equivalent to cpow(a,z) = cexp(z clog(a)).
    //
    // ACCURACY:
    //
    //                      Relative error:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/math/log10.go

    func Log2(x float64) float64 {
    	if haveArchLog2 {
    		return archLog2(x)
    	}
    	return log2(x)
    }
    
    func log2(x float64) float64 {
    	frac, exp := Frexp(x)
    	// Make sure exact powers of two give an exact answer.
    	// Don't depend on Log(0.5)*(1/Ln2)+exp being exactly exp-1.
    	if frac == 0.5 {
    		return float64(exp - 1)
    	}
    	return Log(frac)*(1/Ln2) + float64(exp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 873 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.h

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir::quant::stablehlo {
    
    // Decomposes a given floating point value num into a normalized and quantized
    // fraction and an integral power of two.
    LogicalResult QuantizeMultiplier(double double_multiplier,
                                     int32_t& quantized_fraction, int32_t& shift);
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 07:43:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/math/frexp.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // Frexp breaks f into a normalized fraction
    // and an integral power of two.
    // It returns frac and exp satisfying f == frac × 2**exp,
    // with the absolute value of frac in the interval [½, 1).
    //
    // Special cases are:
    //
    //	Frexp(±0) = ±0, 0
    //	Frexp(±Inf) = ±Inf, 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 929 bytes
    - Viewed (0)
  6. src/image/png/testdata/pngsuite/README

    	and without fee is hereby granted.
    
    The files basn0g01-30.png, basn0g02-29.png and basn0g04-31.png are in fact not
    part of pngsuite but were created from files in pngsuite. Their non-power-of-2
    sizes makes them useful for testing bit-depths smaller than a byte.
    
    basn3a08.png was generated from basn6a08.png using the pngnq tool, which
    converted it to the 8-bit paletted image with alpha values in tRNS chunk.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 28 02:10:13 UTC 2016
    - 1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/allocators.go

    	typ      string // the type they return/accept
    	mak      string // code to make a new object (takes power-of-2 size as fmt arg)
    	capacity string // code to calculate the capacity of an object. Should always report a power of 2.
    	resize   string // code to shrink to sub-power-of-two size (takes size as fmt arg)
    	clear    string // code for clearing object before putting it on the free list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/internal/abi/switch.go

    	// Array of NCases elements.
    	// Each case must be a non-empty interface type.
    	Cases [1]*InterfaceType
    }
    
    type InterfaceSwitchCache struct {
    	Mask    uintptr                      // mask for index. Must be a power of 2 minus 1
    	Entries [1]InterfaceSwitchCacheEntry // Mask+1 entries total
    }
    
    type InterfaceSwitchCacheEntry struct {
    	// type of source value (a *Type)
    	Typ uintptr
    	// case # to dispatch to
    	Case int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. src/strconv/itoa.go

    		if us >= 10 {
    			i--
    			a[i] = smallsString[is]
    		}
    
    	} else if isPowerOfTwo(base) {
    		// Use shifts and masks instead of / and %.
    		// Base is a power of 2 and 2 <= base <= len(digits) where len(digits) is 36.
    		// The largest power of 2 below or equal to 36 is 32, which is 1 << 5;
    		// i.e., the largest possible shift count is 5. By &-ind that value with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top