Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for constFloat64 (0.69 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    	return s.f.ConstInt64(t, c)
    }
    func (s *state) constFloat32(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat32(t, c)
    }
    func (s *state) constFloat64(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat64(t, c)
    }
    func (s *state) constInt(t *types.Type, c int64) *ssa.Value {
    	if s.config.PtrSize == 8 {
    		return s.constInt64(t, c)
    	}
    	if int64(int32(c)) != c {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst64F, t, int64(math.Float64bits(c)), true)
    }
    
    func (f *Func) ConstSlice(t *types.Type) *Value {
    	return f.constVal(OpConstSlice, t, constSliceMagic, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top