Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for RoundUp (0.34 sec)

  1. src/math/big/ftoa.go

    		// If it's okay to do only one, do it.
    		switch {
    		case okdown && okup:
    			d.round(i + 1)
    			return
    		case okdown:
    			d.roundDown(i + 1)
    			return
    		case okup:
    			d.roundUp(i + 1)
    			return
    		}
    	}
    }
    
    // %e: d.ddddde±dd
    func fmtE(buf []byte, fmt byte, prec int, d decimal) []byte {
    	// first digit
    	ch := byte('0')
    	if len(d.mant) > 0 {
    		ch = d.mant[0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. src/strconv/ftoa.go

    		// If it's okay to do only one, do it.
    		switch {
    		case okdown && okup:
    			d.Round(mi + 1)
    			return
    		case okdown:
    			d.RoundDown(mi + 1)
    			return
    		case okup:
    			d.RoundUp(mi + 1)
    			return
    		}
    	}
    }
    
    type decimalSlice struct {
    	d      []byte
    	nd, dp int
    }
    
    // %e: -d.ddddde±dd
    func fmtE(dst []byte, neg bool, d decimalSlice, prec int, fmt byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/conversion.go

    		// Moved to defaults
    		// TODO(#18538): We round up resource values to milli scale to maintain API compatibility.
    		// In the future, we should instead reject values that need rounding.
    		// const milliScale = -3
    		// val.RoundUp(milliScale)
    
    		(*out)[core.ResourceName(key)] = val
    	}
    	return nil
    }
    
    func AddFieldLabelConversionsForEvent(scheme *runtime.Scheme) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/expand_calls.go

    // the (aligned) old value is returned.
    func (c *registerCursor) next(t *types.Type) registerCursor {
    	c.storeOffset = types.RoundUp(c.storeOffset, t.Alignment())
    	rc := *c
    	c.storeOffset = types.RoundUp(c.storeOffset+t.Size(), t.Alignment())
    	if int(c.nextSlice) < len(c.regs) {
    		w := c.config.NumParamRegs(t)
    		c.nextSlice += Abi1RO(w)
    	}
    	return rc
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/func.go

    	if iter.next >= len(iter.closureVars) {
    		return nil, nil, 0
    	}
    	n = iter.closureVars[iter.next]
    	typ = n.Type()
    	if !n.Byval() {
    		typ = types.NewPtr(typ)
    	}
    	iter.next++
    	offset = types.RoundUp(iter.offset, typ.Alignment())
    	iter.offset = offset + typ.Size()
    	return n, typ, offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                lines.times { l ->
                    def foundOp = children.find {
                        it.progress.find {
                            it.hasDetailsOfType(LogEventBuildOperationProgressDetails) &&
                                it.details.message == "o: $i $l"
                        }
                    }
    
                    assert foundOp: "o: $i $l"
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

            TypeID::get<TF::ReverseSequenceOp>(),
            TypeID::get<TF::RightShiftOp>(),
            TypeID::get<TF::RintOp>(),
            TypeID::get<TF::RollOp>(),
            TypeID::get<TF::RoundOp>(),
            TypeID::get<TF::SegmentSumV2Op>(),
            TypeID::get<TF::SegmentProdV2Op>(),
            TypeID::get<TF::SegmentMinV2Op>(),
            TypeID::get<TF::SegmentMaxV2Op>(),
            TypeID::get<TF::SelectV2Op>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

            /*operands=*/fcast_op.getResult(),
            /*attributes=*/avg_pool_op->getAttrs());
    
        // Cast back to the storage type after AvgPool op.
        auto round_val = rewriter.create<TF::RoundOp>(
            sc_op.getLoc(), float_avg_pool_op.getOutput());
        auto icast_op = rewriter.create<TF::CastOp>(
            sc_op.getLoc(), q_result_type.clone(qtype.getStorageType()), round_val);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top