- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,328 for FLOAT64 (0.1 sec)
-
src/math/cbrt.go
// Cbrt returns the cube root of x. // // Special cases are: // // Cbrt(±0) = ±0 // Cbrt(±Inf) = ±Inf // Cbrt(NaN) = NaN func Cbrt(x float64) float64 { if haveArchCbrt { return archCbrt(x) } return cbrt(x) } func cbrt(x float64) float64 { const ( B1 = 715094163 // (682-0.03306235651)*2**20 B2 = 696219795 // (664-0.03306235651)*2**20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2.3K bytes - Viewed (0) -
src/internal/types/testdata/check/expr0.go
// float64 f0 = float64(1) f1 float64 = f0 f2 = +1 f3 = +f0 f4 float64 = +1 f5 float64 = +f4 f6 = -1 f7 = -f0 f8 float64 = -1 f9 float64 = -f4 f10 = !f0 /* ERROR "not defined" */ f11 = ^1 f12 = ^i0 f13 float64 = ^1 f14 float64 = ^f4 /* ERROR "not defined" */ f15 = *f0 /* ERROR "cannot indirect" */ f16 = &f0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 4.4K bytes - Viewed (0) -
src/math/floor_asm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 08:34:12 UTC 2024 - 442 bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...) m.Set(driveFreeBytes, float64(drive.AvailableSpace), labels...) m.Set(driveTotalBytes, float64(drive.TotalSpace), labels...) m.Set(driveUsedInodes, float64(drive.UsedInodes), labels...) m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...) m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 12 17:23:50 UTC 2024 - 7.9K bytes - Viewed (0) -
test/typeparam/typeswitch2.go
case struct{ a, b T }: fmt.Println("struct{T,T}", x.a, x.b) default: fmt.Println("other", x) } } func main() { f[float64](float64(6)) f[float64](int(7)) f[float64](int32(8)) f[float64](struct{ a, b float64 }{a: 1, b: 2}) f[float64](int8(9)) f[int32](int32(7)) f[int](int32(7)) f[any](int(10)) f[interface{ M() }](int(11))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 13:47:58 UTC 2022 - 709 bytes - Viewed (0) -
test/cmplx.go
// Does not compile. package main type ( Float32 float32 Float64 float64 Complex64 complex64 Complex128 complex128 ) var ( f32 float32 f64 float64 F32 Float32 F64 Float64 c64 complex64 c128 complex128 C64 Complex64 C128 Complex128 ) func F1() int { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 21:00:20 UTC 2019 - 1.4K bytes - Viewed (0) -
src/runtime/vlop_arm_test.go
var a [129]float64 for i := 0; i < 128; i++ { a[i] = float64(i) } armFloatWrite(&a) for i, x := range a { if x != float64(i) { t.Errorf("bad entry %d:%f\n", i, x) } } } //go:noinline func armFloatRead(a *[129]float64) float64 { return a[128] } func TestArmFloatBigOffsetRead(t *testing.T) { var a [129]float64 for i := 0; i < 129; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 01 21:52:00 UTC 2018 - 3.7K bytes - Viewed (0) -
test/fixedbugs/bug470.go
import "fmt" const ( F32 = 0.00999999977648258209228515625 F64 = 0.01000000000000000020816681711721685132943093776702880859375 ) var F = float64(float32(0.01)) func main() { // 0.01 rounded to float32 then to float64 is F32. // 0.01 represented directly in float64 is F64. if F != F32 { panic(fmt.Sprintf("F=%.1000g, want %.1000g", F, F32)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 608 bytes - Viewed (0) -
cmd/metrics-v3-cache.go
m.readsPerSec = float64(ioStats.ReadIOs) / durationSecs m.readsKBPerSec = float64(ioStats.ReadSectors) * float64(sectorSize) / kib / durationSecs if ioStats.ReadIOs > 0 { m.readsAwait = float64(ioStats.ReadTicks) / float64(ioStats.ReadIOs) } m.writesPerSec = float64(ioStats.WriteIOs) / durationSecs m.writesKBPerSec = float64(ioStats.WriteSectors) * float64(sectorSize) / kib / durationSecs
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/minmax.go
if y > x { return y } return x } func fmin32(x, y float32) float32 { return fmin(x, y) } func fmin64(x, y float64) float64 { return fmin(x, y) } func fmax32(x, y float32) float32 { return fmax(x, y) } func fmax64(x, y float64) float64 { return fmax(x, y) } type floaty interface{ ~float32 | ~float64 } func fmin[F floaty](x, y F) F { if y != y || y < x { return y } if x != x || x < y || x != 0 { return x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 18:15:22 UTC 2023 - 1.5K bytes - Viewed (0)