Function qt_core::q_float_to_float16
source · pub unsafe fn q_float_to_float16(
arg1: impl CastInto<Ptr<Qfloat16>>,
arg2: *const c_float,
length: c_longlong
)
Available on
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Expand description
Converts len floats from in to qfloat16 and stores them in out. Both in and out must have len allocated entries.
Calls C++ function: void qFloatToFloat16(qfloat16* arg1, const float* arg2, long long length)
.
Converts len floats from in to qfloat16 and stores them in out. Both in and out must have len allocated entries.
This function was introduced in Qt 5.11.