Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for i64toi (0.1 sec)

  1. src/go/constant/value.go

    func newRat() *big.Rat     { return new(big.Rat) }
    func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
    
    func i64toi(x int64Val) intVal   { return intVal{newInt().SetInt64(int64(x))} }
    func i64tor(x int64Val) ratVal   { return ratVal{newRat().SetInt64(int64(x))} }
    func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} }
    func itor(x intVal) ratVal       { return ratVal{newRat().SetInt(x.val)} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64Mul (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Mul y (I64Const [x]))
    (I64And (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64And y (I64Const [x]))
    (I64Or  (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Or  y (I64Const [x]))
    (I64Xor (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Xor y (I64Const [x]))
    (F64Add (F64Const [x]) y) && y.Op != OpWasmF64Const => (F64Add y (F64Const [x]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "I64And", asm: "I64And", argLength: 2, reg: gp21, typ: "Int64"},                    // arg0 & arg1
    		{name: "I64Or", asm: "I64Or", argLength: 2, reg: gp21, typ: "Int64"},                      // arg0 | arg1
    		{name: "I64Xor", asm: "I64Xor", argLength: 2, reg: gp21, typ: "Int64"},                    // arg0 ^ arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/fp_test.go

    }
    
    //go:noinline
    func F64toI64_ssa(x float64) int64 {
    	return int64(x)
    }
    
    func floatsToInts(t *testing.T, x float64, expected int64) {
    	y := float32(x)
    	expectInt64(t, "F64toI8", int64(F64toI8_ssa(x)), expected)
    	expectInt64(t, "F64toI16", int64(F64toI16_ssa(x)), expected)
    	expectInt64(t, "F64toI32", int64(F64toI32_ssa(x)), expected)
    	expectInt64(t, "F64toI64", int64(F64toI64_ssa(x)), expected)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
Back to top