Searched refs:shortAsHalf (Results 1 – 2 of 2) sorted by relevance
35 inline half shortAsHalf(short s) in shortAsHalf() function75 return shortAsHalf(fp11 << 4); // Sign bit 0 in float11ToFloat16()80 return shortAsHalf(fp10 << 5); // Sign bit 0 in float10ToFloat16()
40 inline half shortAsHalf(short s) in shortAsHalf() function153 return shortAsHalf(fp11 << 4); // Sign bit 0 in float11ToFloat16()158 return shortAsHalf(fp10 << 5); // Sign bit 0 in float10ToFloat16()