Fixed Half

This commit is contained in:
Simon Lübeß
2023-12-17 19:23:19 +01:00
parent 3a3778651d
commit 945a0e5603
2 changed files with 21 additions and 20 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ public struct Half : IComparable , IComparable<Half>, IConvertible, IEquatable<H
public Half(float value)
{
FromFloat32(value, out this);
FromFloat32(value, out Half halfValue);
this = halfValue;
}
private Half(ushort data)