- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for fabs (0.2 sec)
-
src/math/gamma.go
switch { case isNegInt(x) || IsInf(x, -1) || IsNaN(x): return NaN() case IsInf(x, 1): return Inf(1) case x == 0: if Signbit(x) { return Inf(-1) } return Inf(1) } q := Abs(x) p := Floor(q) if q > 33 { if x >= 0 { y1, y2 := stirling(x) return y1 * y2 } // Note: x is negative but (checked above) not a negative integer,
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/cmd/internal/bootstrap_test/overlaydir_test.go
func overlayDir(dstRoot, srcRoot string) error { dstRoot = filepath.Clean(dstRoot) if err := os.MkdirAll(dstRoot, 0777); err != nil { return err } srcRoot, err := filepath.Abs(srcRoot) if err != nil { return err } return filepath.WalkDir(srcRoot, func(srcPath string, entry fs.DirEntry, err error) error { if err != nil || srcPath == srcRoot { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/DefaultExternalResourceFileStore.java
private static final Grouper<String> GROUPER = new Grouper<String>() { @Override public String determineGroup(String s) { return String.valueOf(Math.abs(s.hashCode()) % 100); } @Override public int getNumberOfGroupingDirs() { return NUMBER_OF_GROUPING_DIRS; } };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
// TODO(jlevy): For optimal performance, use a binary search when // targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); } if (!SortedIterables.hasSameComparator(comparator(), targets) || (targets.size() <= 1)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/argposition_test.go
v.t.Errorf(errorMessage.String()) } } } return v } func TestArgumentsPositions(t *testing.T) { testenv.MustHaveCGO(t) testenv.MustHaveExec(t) testdata, err := filepath.Abs("testdata") if err != nil { t.Fatal(err) } tmpPath := t.TempDir() dir := filepath.Join(tmpPath, "src", "testpositions") if err := os.MkdirAll(dir, 0755); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 3.1K bytes - Viewed (0) -
src/math/big/alias_test.go
// Ensure the arguments were not modified. return equal(x, x1) && equal(y, y1) } func TestAliasing(t *testing.T) { for name, f := range map[string]interface{}{ "Abs": func(v, x bigInt) bool { return checkAliasingOneArg(t, (*big.Int).Abs, v.Int, x.Int) }, "Add": func(v, x, y bigInt) bool { return checkAliasingTwoArgs(t, (*big.Int).Add, v.Int, x.Int, y.Int) }, "And": func(v, x, y bigInt) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/list7.go
// cmd/7l/list.c and cmd/7l/sub.c from Vita Nuova. // https://bitbucket.org/plan9-from-bell-labs/9-cc/src/master/ // // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. // Portions Copyright © 1995-1997 C H Forsyth (******@****.***) // Portions Copyright © 1997-1999 Vita Nuova Limited // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com) // Portions Copyright © 2004,2006 Bruce Ellis
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 17:56:30 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
AbstractTensorHandle* f_outputs[1]; // Numerical Grad Check for (int i = 0; i < num_elems; i++) { // Get relative epsilon value float epsilon = theta_data[i] == 0 ? 1e-4 : std::abs(theta_data[i] * 1e-4); AbstractTensorHandlePtr two_eps; { AbstractTensorHandle* two_eps_raw = nullptr; TF_RETURN_IF_ERROR(TestScalarTensorHandle<float, TF_FLOAT>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc
#define TAC_REGISTER_GPU_OP(Op, Create) \ TargetHardwareOpRegistration<GpuHardware, Op> Op##_GpuHardware_hardware( \ Create); // Currently used for these ops: // tfl.Abs / tfl.Average_pool_2d / tfl.Cos / tfl.div / tfl.exp / tfl.hardswish / // tfl.log / tfl.logistic / tfl.max_pool_2d / tfl.mirror_pad / tfl.maximum / // tfl.custom / tfl.mean / tfl.minimum / tfl.pad / tfl.pow / tfl.prelu /
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 7.8K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
} // Neg sets z = -x and returns z. func (z *Int) Neg(x *Int) *Int { x.doinit() z.doinit() C.mpz_neg(&z.i[0], &x.i[0]) return z } // Abs sets z to the absolute value of x and returns z. func (z *Int) Abs(x *Int) *Int { x.doinit() z.doinit() C.mpz_abs(&z.i[0], &x.i[0]) return z } /* * functions without a clear receiver */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0)