pub unsafe trait FloatMathType<'ctx>: BasicType<'ctx> {
    type ValueType: FloatMathValue<'ctx>;
    type MathConvType: IntMathType<'ctx>;
}
Expand description

Represents an LLVM type that can have floating point math operations applied to it.

Required Associated Types§

source

type ValueType: FloatMathValue<'ctx>

The value instance of a float or float vector type.

source

type MathConvType: IntMathType<'ctx>

The type for float to int or float vector to int vector conversions.

Implementors§

source§

impl<'ctx> FloatMathType<'ctx> for FloatType<'ctx>

§

type ValueType = FloatValue<'ctx>

§

type MathConvType = IntType<'ctx>

source§

impl<'ctx> FloatMathType<'ctx> for VectorType<'ctx>