mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 16:50:33 +03:00
fix float16tofloat32
This commit is contained in:
parent
cc70972a20
commit
d117026511
|
@ -460,7 +460,7 @@ float16tofloat32(const FLOAT16 in) {
|
||||||
|
|
||||||
t1 |= t2; // Re-insert sign bit
|
t1 |= t2; // Re-insert sign bit
|
||||||
|
|
||||||
memcpy(&t1, out, 4);
|
memcpy(out, &t1, 4);
|
||||||
return out[0];
|
return out[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user