Function mlir_sys::mlirFloatAttrDoubleGetChecked
source · pub unsafe extern "C" fn mlirFloatAttrDoubleGetChecked(
loc: MlirLocation,
type_: MlirType,
value: f64
) -> MlirAttribute
Expand description
Same as “mlirFloatAttrDoubleGet”, but if the type is not valid for a construction of a FloatAttr, returns a null MlirAttribute.