- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for IEEE (4.37 sec)
-
src/hash/crc32/crc32.go
// The size of a CRC-32 checksum in bytes. const Size = 4 // Predefined polynomials. const ( // IEEE is by far and away the most common CRC-32 polynomial. // Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, ... IEEE = 0xedb88320 // Castagnoli's polynomial, used in iSCSI. // Has better error detection characteristics than IEEE. // https://dx.doi.org/10.1109/26.231911 Castagnoli = 0x82f63b78 // Koopman's polynomial.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 7.5K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
// testGoldenIEEE verifies that the given function returns // correct IEEE checksums. func testGoldenIEEE(t *testing.T, crcFunc func(b []byte) uint32) { for _, g := range golden { if crc := crcFunc([]byte(g.in)); crc != g.ieee { t.Errorf("IEEE(%s) = 0x%x want 0x%x", g.in, crc, g.ieee) } } } // testGoldenCastagnoli verifies that the given function returns // correct IEEE checksums.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/float.go
// license that can be found in the LICENSE file. package runtime import "unsafe" var inf = float64frombits(0x7FF0000000000000) // isNaN reports whether f is an IEEE 754 “not-a-number” value. func isNaN(f float64) (is bool) { // IEEE 754 says that only NaNs satisfy f != f. return f != f } // isFinite reports whether f is neither NaN nor an infinity. func isFinite(f float64) bool { return !isNaN(f - f) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 02:39:39 UTC 2022 - 1.4K bytes - Viewed (0) -
src/math/unsafe.go
// //go:linkname Float32bits // Float32bits returns the IEEE 754 binary representation of f, // with the sign bit of f and the result in the same bit position. // Float32bits(Float32frombits(x)) == x. func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) } // Float32frombits returns the floating-point number corresponding // to the IEEE 754 binary representation b, with the sign bit of b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 1.6K bytes - Viewed (0) -
src/math/cmplx/sin.go
// // csin(z) = -i csinh(iz). // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // DEC -10,+10 8400 5.3e-17 1.3e-17 // IEEE -10,+10 30000 3.8e-16 1.0e-16 // Also tested by csin(casin(z)) = z. // Sin returns the sine of x. func Sin(x complex128) complex128 { switch re, im := real(x), imag(x); {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.8K bytes - Viewed (0) -
src/math/bits.go
if sign >= 0 { v = uvinf } else { v = uvneginf } return Float64frombits(v) } // NaN returns an IEEE 754 “not-a-number” value. func NaN() float64 { return Float64frombits(uvnan) } // IsNaN reports whether f is an IEEE 754 “not-a-number” value. func IsNaN(f float64) (is bool) { // IEEE 754 says that only NaNs satisfy f != f. // To avoid the floating-point hardware, could use: // x := Float64bits(f);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:52:29 UTC 2022 - 1.9K bytes - Viewed (0) -
src/hash/crc32/crc32_arm64.go
return cpu.ARM64.HasCRC32 } func archInitIEEE() { if !cpu.ARM64.HasCRC32 { panic("arch-specific crc32 instruction for IEEE not available") } } func archUpdateIEEE(crc uint32, p []byte) uint32 { if !cpu.ARM64.HasCRC32 { panic("arch-specific crc32 instruction for IEEE not available") } return ^ieeeUpdate(^crc, p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 25 05:31:01 UTC 2022 - 1.2K bytes - Viewed (0) -
src/math/gamma.go
// // Relative error: // arithmetic domain # trials peak rms // DEC -34, 34 10000 1.3e-16 2.5e-17 // IEEE -170,-33 20000 2.3e-15 3.3e-16 // IEEE -33, 33 20000 9.4e-16 2.2e-16 // IEEE 33, 171.6 20000 2.3e-15 3.2e-16 // // Error for arguments outside the test range will be larger
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/remainder.go
// integer nearest x/y (in half way cases, choose the even one). // Method : // Based on Mod() returning x - [x/y]chopped * y exactly. // Remainder returns the IEEE 754 floating-point remainder of x/y. // // Special cases are: // // Remainder(±Inf, y) = NaN // Remainder(NaN, y) = NaN // Remainder(x, 0) = NaN // Remainder(x, ±Inf) = x // Remainder(x, NaN) = NaN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2K bytes - Viewed (0) -
guava/src/com/google/common/math/BigDecimalMath.java
* will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. * * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754 * default rounding mode: if the two nearest representable values are equally near, the one with * the least significant bit zero is chosen. (In such cases, both of the nearest representable
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0)