kubernetes/vendor/github.com/google/cel-go/common/types/double.go

type Double

var doubleWrapperType

var floatWrapperType

// Add implements traits.Adder.Add.
func (d Double) Add(other ref.Val) ref.Val {}

// Compare implements traits.Comparer.Compare.
func (d Double) Compare(other ref.Val) ref.Val {}

// ConvertToNative implements ref.Val.ConvertToNative.
func (d Double) ConvertToNative(typeDesc reflect.Type) (any, error) {}

// ConvertToType implements ref.Val.ConvertToType.
func (d Double) ConvertToType(typeVal ref.Type) ref.Val {}

// Divide implements traits.Divider.Divide.
func (d Double) Divide(other ref.Val) ref.Val {}

// Equal implements ref.Val.Equal.
func (d Double) Equal(other ref.Val) ref.Val {}

// IsZeroValue returns true if double value is 0.0
func (d Double) IsZeroValue() bool {}

// Multiply implements traits.Multiplier.Multiply.
func (d Double) Multiply(other ref.Val) ref.Val {}

// Negate implements traits.Negater.Negate.
func (d Double) Negate() ref.Val {}

// Subtract implements traits.Subtractor.Subtract.
func (d Double) Subtract(subtrahend ref.Val) ref.Val {}

// Type implements ref.Val.Type.
func (d Double) Type() ref.Type {}

// Value implements ref.Val.Value.
func (d Double) Value() any {}