- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setInt64 (0.16 sec)
-
misc/cgo/gmp/pi.go
return tmp1.Int64() } func nextTerm(k int64) { y2 := k*2 + 1 accum.Add(accum, tmp1.Lsh(numer, 1)) accum.Mul(accum, tmp1.SetInt64(y2)) numer.Mul(numer, tmp1.SetInt64(k)) denom.Mul(denom, tmp1.SetInt64(y2)) } func eliminateDigit(d int64) { accum.Sub(accum, tmp1.Mul(denom, tmp1.SetInt64(d))) accum.Mul(accum, ten) numer.Mul(numer, ten) } func main() { i := 0 k := int64(0) for { d := int64(-1)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
} const loadSlice = (addr) => { const array = getInt64(addr + 0); const len = getInt64(addr + 8); return new Uint8Array(this._inst.exports.mem.buffer, array, len); } const loadSliceOfValues = (addr) => { const array = getInt64(addr + 0); const len = getInt64(addr + 8); const a = new Array(len); for (let i = 0; i < len; i++) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 16.5K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
// and sets z to that value. func (z *Int) SetBytes(b []byte) *Int { z.doinit() if len(b) == 0 { z.SetInt64(0) } else { C.mpz_import(&z.i[0], C.size_t(len(b)), 1, 1, 1, 0, unsafe.Pointer(&b[0])) } return z } // SetInt64 sets z = x and returns z. func (z *Int) SetInt64(x int64) *Int { z.doinit() // TODO(rsc): more work on 32-bit platforms C.mpz_set_si(&z.i[0], C.long(x)) return z
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
api/go1.5.txt
pkg math/big, method (*Float) SetInt64(int64) *Float pkg math/big, method (*Float) SetMantExp(*Float, int) *Float pkg math/big, method (*Float) SetMode(RoundingMode) *Float pkg math/big, method (*Float) SetPrec(uint) *Float pkg math/big, method (*Float) SetRat(*Rat) *Float pkg math/big, method (*Float) SetString(string) (*Float, bool) pkg math/big, method (*Float) SetUint64(uint64) *Float pkg math/big, method (*Float) Sign() int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
api/go1.txt
pkg math/big, method (*Int) SetBit(*Int, int, uint) *Int pkg math/big, method (*Int) SetBits([]Word) *Int pkg math/big, method (*Int) SetBytes([]uint8) *Int pkg math/big, method (*Int) SetInt64(int64) *Int pkg math/big, method (*Int) SetString(string, int) (*Int, bool) pkg math/big, method (*Int) Sign() int pkg math/big, method (*Int) String() string pkg math/big, method (*Int) Sub(*Int, *Int) *Int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.13.txt
pkg log/syslog (netbsd-arm64), type Priority int pkg log/syslog (netbsd-arm64), type Writer struct pkg math/big, method (*Int) TrailingZeroBits() uint pkg math/big, method (*Rat) SetUint64(uint64) *Rat pkg net/http, const SameSiteNoneMode = 4 pkg net/http, const SameSiteNoneMode SameSite pkg net/http, const StatusEarlyHints = 103 pkg net/http, const StatusEarlyHints ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.1.txt
pkg math/big, const MaxBase = 36 pkg math/big, method (*Int) MarshalJSON() ([]uint8, error) pkg math/big, method (*Int) SetUint64(uint64) *Int pkg math/big, method (*Int) Uint64() uint64 pkg math/big, method (*Int) UnmarshalJSON([]uint8) error pkg math/big, method (*Rat) Float64() (float64, bool) pkg math/big, method (*Rat) SetFloat64(float64) *Rat
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)