- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 66 for Qinv (0.05 sec)
-
src/math/big/example_rat_test.go
term.SetInt64(1) } else { term.SetInt64((n - 1) / 3 * 2) } if n > lim { return term } // Directly initialize frac as the fractional // inverse of the result of recur. frac := new(big.Rat).Inv(recur(n+1, lim)) return term.Add(term, frac) } // This example demonstrates how to use big.Rat to compute the // first 15 terms in the sequence of rational convergents for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
src/crypto/dsa/dsa.go
if k.Sign() > 0 && k.Cmp(priv.Q) < 0 { break } } kInv := fermatInverse(k, priv.Q) r = new(big.Int).Exp(priv.G, k, priv.P) r.Mod(r, priv.Q) if r.Sign() == 0 { continue } z := k.SetBytes(hash) s = new(big.Int).Mul(priv.X, r) s.Add(s, z) s.Mod(s, priv.Q) s.Mul(s, kInv) s.Mod(s, priv.Q) if s.Sign() != 0 { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/anames.go
"CASB", "CASD", "CASH", "CASLD", "CASLW", "CASPD", "CASPW", "CASW", "CBNZ", "CBNZW", "CBZ", "CBZW", "CCMN", "CCMNW", "CCMP", "CCMPW", "CINC", "CINCW", "CINV", "CINVW", "CLREX", "CLS", "CLSW", "CLZ", "CLZW", "CMN", "CMNW", "CMP", "CMPW", "CNEG", "CNEGW", "CRC32B", "CRC32CB", "CRC32CH", "CRC32CW", "CRC32CX",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 01:40:37 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/runtime1.go
if reflectOffs.m == nil { reflectOffs.m = make(map[int32]unsafe.Pointer) reflectOffs.minv = make(map[unsafe.Pointer]int32) reflectOffs.next = -1 } id, found := reflectOffs.minv[ptr] if !found { id = reflectOffs.next reflectOffs.next-- // use negative offsets as IDs to aid debugging reflectOffs.m[id] = ptr reflectOffs.minv[ptr] = id } reflectOffsUnlock() return id
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
src/math/big/rat_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0) -
test/chan/powser1.go
return r } func neg(u rat) rat { return i2tor(-u.num, u.den) } func sub(u, v rat) rat { return add(u, neg(v)) } func inv(u rat) rat { // invert a rat if u.num == 0 { panic("zero divide in inv") } return i2tor(u.den, u.num) } // print eval in floating point of PS at x=c to n terms func evaln(c rat, U PS, n int) { xn := float64(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 25 22:22:20 UTC 2020 - 12.7K bytes - Viewed (0) -
src/math/big/rat.go
} // Neg sets z to -x and returns z. func (z *Rat) Neg(x *Rat) *Rat { z.Set(x) z.a.neg = len(z.a.abs) > 0 && !z.a.neg // 0 has no sign return z } // Inv sets z to 1/x and returns z. // If x == 0, Inv panics. func (z *Rat) Inv(x *Rat) *Rat { if len(x.a.abs) == 0 { panic("division by zero") } z.Set(x) z.a.abs, z.b.abs = z.b.abs, z.a.abs return z } // Sign returns: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
pilot/pkg/model/context_test.go
assert.Equal(t, "b", model.GetOrDefault("", "b")) } func TestProxyVersion_Compare(t *testing.T) { type fields struct { Major int Minor int Patch int } type args struct { inv *model.IstioVersion } tests := []struct { name string fields fields args args want int }{ { name: "greater major", fields: fields{Major: 2, Minor: 1, Patch: 1},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 23:51:52 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
BCLR $63, X24 // 131cfc4b BCLRI $1, X25, X26 // 139d1c48 BEXT X26, X28, X29 // b35eae49 BEXT $63, X28 // 135efe4b BEXTI $1, X29, X30 // 13df1e48 BINV X30, X5, X6 // 3393e269 BINV $63, X6 // 1313f36b BINVI $1, X7, X8 // 13941368 BSET X8, X9, X10 // 33958428 BSET $63, X9 // 9394f42b BSETI $1, X10, X11 // 93151528 // Privileged ISA
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
test/chan/powser2.go
return r } func neg(u *rat) *rat { return i2tor(-u.num, u.den) } func sub(u, v *rat) *rat { return add(u, neg(v)) } func inv(u *rat) *rat { // invert a rat if u.num == 0 { panic("zero divide in inv") } return i2tor(u.den, u.num) } // print eval in floating point of PS at x=c to n terms func Evaln(c *rat, U PS, n int) { xn := float64(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 25 22:22:20 UTC 2020 - 13.3K bytes - Viewed (0)