Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for NextIp (0.33 sec)

  1. android/guava/src/com/google/common/math/DoubleUtils.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DoubleUtils {
      private DoubleUtils() {}
    
      static double nextDown(double d) {
        return -Math.nextUp(-d);
      }
    
      // The mask for the significand, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGNIFICAND_MASK = 0x000fffffffffffffL;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	assignedToUnit := MakeBitmap(l.NSym() + 1)
    
    	// Start off textp with reachable external syms.
    	textp := []Sym{}
    	for _, sym := range extsyms {
    		if !l.attrReachable.Has(sym) {
    			continue
    		}
    		textp = append(textp, sym)
    	}
    
    	// Walk through all text symbols from Go object files and append
    	// them to their corresponding library's textp list.
    	for _, r := range l.objs[goObjStart:] {
    		lib := r.unit.Lib
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        // decrement until it's <= the true value
        while (StrictMath.pow(2.0, trueLog2) > d) {
          trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
        }
        if (StrictMath.abs(StrictMath.pow(2.0, trueLog2) - d)
            > StrictMath.abs(StrictMath.pow(2.0, StrictMath.nextUp(trueLog2)) - d)) {
          trueLog2 = StrictMath.nextUp(trueLog2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/DoubleUtils.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DoubleUtils {
      private DoubleUtils() {}
    
      static double nextDown(double d) {
        return -Math.nextUp(-d);
      }
    
      // The mask for the significand, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGNIFICAND_MASK = 0x000fffffffffffffL;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loadpe/ldpe.go

    				return nil, fmt.Errorf("internal error: preexisting COMDAT definition for %q", name)
    			}
    			comdatDefinitions[l.SymName(s)] = sz
    		}
    	}
    
    	// Sort outer lists by address, adding to textp.
    	// This keeps textp in increasing address order.
    	for _, sect := range f.Sections {
    		s := state.sectsyms[sect]
    		if s == 0 {
    			continue
    		}
    		l.SortSub(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

            return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily);
          case DOWN:
            if (x >= 0) {
              return (cmpXToRoundArbitrarily >= 0)
                  ? roundArbitrarily
                  : DoubleUtils.nextDown(roundArbitrarily);
            } else {
              return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily);
            }
          case UP:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        new RoundToDoubleTester(BigInteger.valueOf((1L << 53) + 1))
            .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_twoToThe54PlusOne() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/stackcheck.go

    	// to produce a good error message.
    	//
    	// This accumulates stack heights bottom-up so it only has to
    	// visit every function once.
    	var failed []loader.Sym
    	for _, s := range ctxt.Textp {
    		if sc.check(s) > limit {
    			failed = append(failed, s)
    		}
    	}
    
    	if len(failed) > 0 {
    		// Something was over-limit, so now we do the more
    		// expensive work to report a good error. First, for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/link.go

    	Loaded bool // set after all inputs have been loaded as symbols
    
    	compressDWARF bool
    
    	Libdir       []string
    	Library      []*sym.Library
    	LibraryByPkg map[string]*sym.Library
    	Shlibs       []Shlib
    	Textp        []loader.Sym
    	Moduledata   loader.Sym
    
    	PackageFile  map[string]string
    	PackageShlib map[string]string
    
    	tramps []loader.Sym // trampolines
    
    	compUnits []*sym.CompilationUnit // DWARF compilation units
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/memcombine.go

    	v := a[0]
    	if v.Op == shiftOp {
    		v = v.Args[0]
    	}
    	var extOp Op
    	if orOp == OpOr64 && (v.Op == OpZeroExt8to64 || v.Op == OpZeroExt16to64 || v.Op == OpZeroExt32to64) ||
    		orOp == OpOr32 && (v.Op == OpZeroExt8to32 || v.Op == OpZeroExt16to32) ||
    		orOp == OpOr16 && v.Op == OpZeroExt8to16 {
    		extOp = v.Op
    		v = v.Args[0]
    	} else {
    		return false
    	}
    	if v.Op != OpLoad {
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top