// NOTE: These are defined within the CPP compilation unit so that they are not inlined everywhere // and increase code size. Performance critical code is likely already using skvx directly, and // they will be inlined where performance vs. code size is worth it.
SkHalf SkFloatToHalf(float f) { if (std::isnan(f)) { return SK_HalfNaN;
} else { return to_half(skvx::Vec<1,float>(f))[0];
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.