Searched refs:toHalf (Results 1 – 4 of 4) sorted by relevance
174 mValue = toHalf(value); in Half()186 mValue = toHalf((float) value); in Half()207 mValue = toHalf(Float.parseFloat(value)); in Half()805 public static @HalfFloat short toHalf(float f) { in toHalf() method in Half806 return FP16.toHalf(f); in toHalf()857 return toHalf(Float.parseFloat(s)); in parseHalf()
1061 @HalfFloat short r = Half.toHalf(red); in pack()1062 @HalfFloat short g = Half.toHalf(green); in pack()1063 @HalfFloat short b = Half.toHalf(blue); in pack()
49245 method @HalfFloat public static short toHalf(float);
49389 method @HalfFloat public static short toHalf(float);