LLVMConstRealOfString

Function LLVMConstRealOfString 

Source
pub unsafe extern "C" fn LLVMConstRealOfString(
    RealTy: LLVMTypeRef,
    Text: *const c_char,
) -> LLVMValueRef
Expand description

Obtain a constant for a floating point value parsed from a string.

A similar API, LLVMConstRealOfStringAndSize is also available. It should be used if the input string’s length is known.