MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / convert

Function convert

test/arrayfire_test.cpp:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288template<>
289float convert(af::half in) {
290 return static_cast<float>(half_float::half(in.data_));
291}
292
293template<>
294af_half convert(int in) {

Callers

nothing calls this directly

Calls 1

halfClass · 0.50

Tested by

no test coverage detected