- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for NEG (0.03 sec)
-
src/internal/types/testdata/check/lookup1.go
} func _() { var x big.Float _ = x.neg // ERROR "x.neg undefined (type big.Float has no field or method neg, but does have method Neg)" _ = x.nEg // ERROR "x.nEg undefined (type big.Float has no field or method nEg)" _ = x.Neg _ = x.NEg // ERROR "x.NEg undefined (type big.Float has no field or method NEg, but does have method Neg)" _ = x.form // ERROR "x.form undefined (cannot refer to unexported field form)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:07:26 UTC 2023 - 1.7K bytes - Viewed (0) -
test/codegen/rotate.go
var a uint64 z &= 63 // amd64:"ROLQ",-"AND" // arm64:"ROR","NEG",-"AND" // ppc64x:"ROTL",-"NEG",-"AND" // loong64: "ROTRV", -"AND" // riscv64: "ROL",-"AND" a += x<<z | x>>(64-z) // amd64:"RORQ",-"AND" // arm64:"ROR",-"NEG",-"AND" // ppc64x:"ROTL","NEG",-"AND" // loong64: "ROTRV", -"AND" // riscv64: "ROR",-"AND" a += x>>z | x<<(64-z) return a }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 6K bytes - Viewed (0) -
src/math/big/intconv.go
// determine sign neg, err := scanSign(r) if err != nil { return nil, 0, err } // determine mantissa z.abs, base, _, err = z.abs.scan(r, base, false) if err != nil { return nil, base, err } z.neg = len(z.abs) > 0 && neg // 0 has no sign return z, base, nil } func scanSign(r io.ByteScanner) (neg bool, err error) { var ch byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.7K bytes - Viewed (0) -
src/math/big/intmarsh.go
return fmt.Errorf("Int.GobDecode: encoding version %d not supported", b>>1) } z.neg = b&1 != 0 z.abs = z.abs.setBytes(buf[1:]) return nil } // MarshalText implements the [encoding.TextMarshaler] interface. func (x *Int) MarshalText() (text []byte, err error) { if x == nil { return []byte("<nil>"), nil } return x.abs.itoa(x.neg, 10), nil } // UnmarshalText implements the [encoding.TextUnmarshaler] interface.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 2.2K bytes - Viewed (0) -
test/phiopt.go
//go:noinline func f7and(a bool, b bool) bool { return a && b // ERROR "converted OpPhi to AndB$" } //go:noinline func f8(s string) (string, bool) { neg := false if s[0] == '-' { // ERROR "converted OpPhi to Copy$" neg = true s = s[1:] } return s, neg } var d int //go:noinline func f9(a, b int) bool { c := false if a < 0 { // ERROR "converted OpPhi to Copy$" if b < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2K bytes - Viewed (0) -
test/fixedbugs/issue9604b.go
a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(1))) r = big.NewInt(1) a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(2))) r = big.NewInt(1) a = append(a, r.Lsh(r, t.bits-1).Neg(r)) r = big.NewInt(1) a = append(a, r.Lsh(r, t.bits-1).Neg(r).Add(r, big.NewInt(1))) } else { r := big.NewInt(1) a = append(a, r.Lsh(r, t.bits).Sub(r, big.NewInt(1))) r = big.NewInt(1) a = append(a, r.Lsh(r, t.bits).Sub(r, big.NewInt(2)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/math.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 1.4K bytes - Viewed (0) -
src/syscall/asm_linux_s390x.s
MOVD a2+16(FP), R3 MOVD a3+24(FP), R4 MOVD $0, R5 MOVD $0, R6 MOVD $0, R7 MOVD trap+0(FP), R1 // syscall entry SYSCALL MOVD $0xfffffffffffff001, R8 CMPUBLT R2, R8, ok2 MOVD $-1, r1+32(FP) NEG R2, R2 MOVD R2, err+40(FP) // errno RET ok2: MOVD R2, r1+32(FP) MOVD $0, err+40(FP) // errno RET // func rawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:11:15 UTC 2023 - 2.2K bytes - Viewed (0) -
src/internal/types/testdata/check/lookup2.go
// instead we use the big.Float and ast.File types as they provide a suitable mix of exported and un- // exported fields and methods. func _() { var x *big.Float _ = x.Neg // OK _ = x.NeG // ERROR "x.NeG undefined (type *big.Float has no field or method NeG, but does have method Neg)" _ = x.Form // ERROR "x.Form undefined (type *big.Float has no field or method Form, but does have unexported field form)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 4.8K bytes - Viewed (0)