mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-28 00:00:03 -04:00
#417: Half precision support (clean-up)
This commit is contained in:
-1
@@ -116,7 +116,6 @@ public final class Half extends Number implements Comparable<Half> {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static short floatToShortBits(final float floatValue) {
|
public static short floatToShortBits(final float floatValue) {
|
||||||
// TODO: Is this okay? Need test
|
|
||||||
return (short) floatTo16Bits(floatValue);
|
return (short) floatTo16Bits(floatValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user