- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for ABS (0.04 sec)
-
src/math/big/int.go
if x.neg == y.neg { // x + y == x + y // (-x) + (-y) == -(x + y) z.abs = z.abs.add(x.abs, y.abs) } else { // x + (-y) == x - y == -(y - x) // (-x) + y == y - x == -(x - y) if x.abs.cmp(y.abs) >= 0 { z.abs = z.abs.sub(x.abs, y.abs) } else { neg = !neg z.abs = z.abs.sub(y.abs, x.abs) } } z.neg = len(z.abs) > 0 && neg // 0 has no sign return z }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0) -
src/math/big/rat.go
// a squared Rat is positive and can't be reduced (no need to call norm()) z.a.neg = false z.a.abs = z.a.abs.sqr(x.a.abs) if len(x.b.abs) == 0 { z.b.abs = z.b.abs.setWord(1) } else { z.b.abs = z.b.abs.sqr(x.b.abs) } return z } z.a.Mul(&x.a, &y.a) z.b.abs = mulDenom(z.b.abs, x.b.abs, y.b.abs) return z.norm() } // Quo sets z to the quotient x/y and returns z.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
src/math/big/ratconv.go
if n > 1e6 { return nil, false // avoid excessively large exponents } pow5 := z.b.abs.expNN(natFive, nat(nil).setWord(Word(n)), nil, false) // use underlying array of z.b.abs if exp5 > 0 { z.a.abs = z.a.abs.mul(z.a.abs, pow5) z.b.abs = z.b.abs.setWord(1) } else { z.b.abs = pow5 } } else { z.b.abs = z.b.abs.setWord(1) } // apply exp2 contributions if exp2 < -1e7 || exp2 > 1e7 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 12.3K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy
19: 0000000000000000 0 FILE LOCAL DEFAULT ABS sum.cpp 20: 0000000000000000 0 FILE LOCAL DEFAULT ABS multiply.cpp 21: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 22: 00000000004021e0 0 OBJECT LOCAL DEFAULT 19 __FRAME_END__ 23: 0000000000000000 0 FILE LOCAL DEFAULT ABS 24: 0000000000402014 0 NOTYPE LOCAL DEFAULT 18 __GNU_EH_FRAME_HDR
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 23:09:11 UTC 2024 - 13.9K bytes - Viewed (0) -
src/math/big/prime.go
if n < 0 { panic("negative n for ProbablyPrime") } if x.neg || len(x.abs) == 0 { return false } // primeBitMask records the primes < 64. const primeBitMask uint64 = 1<<2 | 1<<3 | 1<<5 | 1<<7 | 1<<11 | 1<<13 | 1<<17 | 1<<19 | 1<<23 | 1<<29 | 1<<31 | 1<<37 | 1<<41 | 1<<43 | 1<<47 | 1<<53 | 1<<59 | 1<<61 w := x.abs[0] if len(x.abs) == 1 && w < 64 { return primeBitMask&(1<<w) != 0 } if w&1 == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 10.4K bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner_test.go
// Run once, immediately. // abs=0ms, rel=0ms runner.Run() waitForRun("first run", t, timer, obj) // Run again, before minInterval expires, with burst. timer.advance(1 * time.Millisecond) // abs=1ms, rel=1ms runner.Run() waitForRun("second run", t, timer, obj) // Run again, before minInterval expires. timer.advance(498 * time.Millisecond) // abs=499ms, rel=498ms runner.Run()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 12.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go
forwardedURI: "/proxy/node/node1:10250/", }, "abs": { input: `<script src="http://google.com/kubernetes.js"/>`, sourceURL: "http://mynode.com/any/path/", transport: testTransport, output: `<script src="http://google.com/kubernetes.js"/>`, contentType: "text/html", forwardedURI: "/proxy/node/node1:10250/any/path/", }, "abs but same host": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 13.8K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
type outputdirFlag struct { abs string } func (f *outputdirFlag) String() string { return f.abs } func (f *outputdirFlag) Set(value string) (err error) { if value == "" { f.abs = "" } else { f.abs, err = filepath.Abs(value) } return err } func (f *outputdirFlag) getAbs() string { if f.abs == "" { return base.Cwd() } return f.abs }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/norm/iter.go
func (i *Iter) Seek(offset int64, whence int) (int64, error) { var abs int64 switch whence { case 0: abs = offset case 1: abs = int64(i.p) + offset case 2: abs = int64(i.rb.nsrc) + offset default: return 0, fmt.Errorf("norm: invalid whence") } if abs < 0 { return 0, fmt.Errorf("norm: negative position") } if int(abs) >= i.rb.nsrc { i.setDone() return int64(i.p), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 19:27:51 UTC 2019 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go
func (i *Iter) Seek(offset int64, whence int) (int64, error) { var abs int64 switch whence { case 0: abs = offset case 1: abs = int64(i.p) + offset case 2: abs = int64(i.rb.nsrc) + offset default: return 0, fmt.Errorf("norm: invalid whence") } if abs < 0 { return 0, fmt.Errorf("norm: negative position") } if int(abs) >= i.rb.nsrc { i.setDone() return int64(i.p), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11K bytes - Viewed (0)