mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
#417: Half precision support (clean-up)
This commit is contained in:
parent
9adf0f4da3
commit
b4ef5823f3
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user