- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 310 for roundup (0.15 sec)
-
src/math/big/floatmarsh.go
x.mant[len(x.mant)-n:].bytes(buf[10:]) // cut off unused trailing words } return buf, nil } // GobDecode implements the [encoding/gob.GobDecoder] interface. // The result is rounded per the precision and rounding mode of // z unless z's precision is 0, in which case z is set exactly // to the decoded value. func (z *Float) GobDecode(buf []byte) error { if len(buf) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 3.6K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal // places. Numbers larger or more precise will be capped or rounded up. // (E.g.: 0.1m will rounded up to 1m.) // This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/syscall/unix/fallocate_freebsd_arm.go
// // The padding 0 argument is needed because the ARM calling convention requires that if an // argument (off in this case) needs double-word alignment (8-byte), the NCRN (next core // register number) is rounded up to the next even register number. // See https://github.com/ARM-software/abi-aa/blob/2bcab1e3b22d55170c563c3c7940134089176746/aapcs32/aapcs32.rst#parameter-passing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 1013 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto
// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal // places. Numbers larger or more precise will be capped or rounded up. // (E.g.: 0.1m will rounded up to 1m.) // This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 3.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/swift-sourcesets-compilation.dot
} subgraph secondLine { modules[style="rounded,filled", fillcolor="#bfffbf", label="Compilation modules"] } subgraph thirdLine { {rank=same sourceFiles compileVariantSwift outputDirectory} modules -> compileVariantSwift sourceFiles -> compileVariantSwift compileVariantSwift -> outputDirectory sourceFiles[style="rounded,filled", fillcolor="#bfffbf", label="Source files"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.9K bytes - Viewed (0) -
src/math/big/ratconv.go
// with that many fractional digits is exact or rounded. // // Examples: // // x n exact decimal representation n fractional digits // 0 0 true 0 // 1 0 true 1 // 1/2 1 true 0.5 // 1/3 0 false 0 (0.333... rounded) // 1/4 2 true 0.25 // 1/6 1 false 0.2 (0.166... rounded) func (x *Rat) FloatPrec() (n int, exact bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
} } static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) { if (!condition) { throw new ArithmeticException( "rounded value is out of range for input " + input + " and rounding mode " + mode); } } static void checkNoOverflow(boolean condition, String methodName, int a, int b) { if (!condition) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.3K bytes - Viewed (0) -
test/fixedbugs/issue14651.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This test checks if the compiler's internal constant // arithmetic correctly rounds up floating-point values // that become the smallest denormal value. // // See also related issue 14553 and test issue14553.go. package main import ( "fmt" "math" ) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 22 17:09:29 UTC 2016 - 1.9K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
m.Set(sysCPULoadPerc, math.Round(perc*100)/100) } ts := cpuMetrics.TimesStat tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal cpuUserVal := math.Round(ts.User/tot*100*100) / 100 m.Set(sysCPUUser, cpuUserVal) cpuSystemVal := math.Round(ts.System/tot*100*100) / 100 m.Set(sysCPUSystem, cpuSystemVal) cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100 m.Set(sysCPUNice, cpuNiceVal)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/math/BigDecimalMath.java
* @author Louis Wasserman * @since 30.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public class BigDecimalMath { private BigDecimalMath() {} /** * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x} * is precisely representable as a {@code double}, its {@code double} value will be returned;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0)