- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,103 for absY (0.13 sec)
-
src/math/abs.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // Abs returns the absolute value of x. // // Special cases are: // // Abs(±Inf) = +Inf // Abs(NaN) = NaN func Abs(x float64) float64 { return Float64frombits(Float64bits(x) &^ (1 << 63))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 366 bytes - Viewed (0) -
src/cmd/internal/obj/mips/anames.go
// Code generated by stringer -i a.out.go -o anames.go -p mips; DO NOT EDIT. package mips import "cmd/internal/obj" var Anames = []string{ obj.A_ARCHSPECIFIC: "ABSD", "ABSF", "ABSW", "ADD", "ADDD", "ADDF", "ADDU", "ADDW", "AND", "BEQ", "BFPF", "BFPT", "BGEZ", "BGEZAL", "BGTZ", "BLEZ", "BLTZ", "BLTZAL", "BNE", "BREAK", "CLO", "CLZ", "CMOVF", "CMOVN",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
Operation *module) { // Find the op names with tf or tfl dialect prefix, Ex: "tf.Abs" or "tfl.Abs". auto collectOps = [this](Operation *op) { const auto &op_name = op->getName().getStringRef().str(); if (absl::StartsWith(op_name, "tf.") || absl::StartsWith(op_name, "tfl.")) { loc_to_name_.emplace(op->getLoc(), op_name); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
test/typeparam/mdempsky/13.go
func (MyMer) String() string { return "aa" } // Parameterized interface type Abs[T any] interface { Abs() T } func G[T Abs[U], U any](t T) { T.Abs(t) t.Abs() } type MyInt int func (m MyInt) Abs() MyInt { if m < 0 { return -m } return m } type Abs2 interface { Abs() MyInt } func main() { mm := MyMer(3) ms := struct{ Mer }{Mer: mm }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 14 17:55:47 UTC 2022 - 1.4K bytes - Viewed (0) -
test/codegen/math.go
} // Check that it's using integer registers func abs(x, y float64) { // amd64:"BTRQ\t[$]63" // arm64:"FABSD\t" // s390x:"LPDFR\t",-"MOVD\t" (no integer load/store) // ppc64x:"FABS\t" // riscv64:"FABSD\t" // wasm:"F64Abs" // arm/6:"ABSD\t" // mips64/hardfloat:"ABSD\t" // mips/hardfloat:"ABSD\t" sink64[0] = math.Abs(x) // amd64:"BTRQ\t[$]63","PXOR" (TODO: this should be BTSQ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
} } // Runs model as is if output is a scalar, // else sums the output tensor before returning. Status RunAndMaybeSum(AbstractContext* ctx, Model forward, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs, bool use_function) { AbstractTensorHandle* model_outputs[1]; // Run the model. TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/anames.go
// Code generated by stringer -i a.out.go -o anames.go -p loong64; DO NOT EDIT. package loong64 import "cmd/internal/obj" var Anames = []string{ obj.A_ARCHSPECIFIC: "ABSD", "ABSF", "ADD", "ADDD", "ADDF", "ADDU", "ADDW", "AND", "BEQ", "BGEZ", "BLEZ", "BGTZ", "BLTZ", "BFPF", "BFPT", "BNE", "BREAK", "CLO", "CLZ", "CMPEQD", "CMPEQF", "CMPGED", "CMPGEF",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 1.9K bytes - Viewed (0) -
src/math/gamma.go
z := q - p if z > 0.5 { p = p + 1 z = q - p } z = q * Sin(Pi*z) if z == 0 { return Inf(signgam) } sq1, sq2 := stirling(q) absz := Abs(z) d := absz * sq1 * sq2 if IsInf(d, 0) { z = Pi / absz / sq1 / sq2 } else { z = Pi / d } return float64(signgam) * z } // Reduce argument z := 1.0 for x >= 3 { x = x - 1 z = z * x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 5.5K bytes - Viewed (0) -
src/math/log1p.go
return NaN() case x == -1: return Inf(-1) case IsInf(x, 1): return Inf(1) } absx := Abs(x) var f float64 var iu uint64 k := 1 if absx < Sqrt2M1 { // |x| < Sqrt(2)-1 if absx < Small { // |x| < 2**-29 if absx < Tiny { // |x| < 2**-54 return x } return x - x*x*0.5 } if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.3K bytes - Viewed (0) -
src/internal/fuzz/mutator.go
} v -= float64(1 + m.rand(int(max))) return v case 2: // Multiply by a random number absV := math.Abs(v) if v == 0 || absV >= maxValue { continue } max = 10 if maxValue/absV < max { // Don't let v go beyond the minimum or maximum value max = maxValue / absV } v *= float64(1 + m.rand(int(max))) return v case 3: // Divide by a random number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0)