Merge pull request #421 from lioncash/comma

tests/.../vfp_helper: Amend use of the comma operator
This commit is contained in:
Merry 2019-02-02 22:59:27 +00:00 committed by MerryMage
commit 00277739f4

View file

@ -277,7 +277,7 @@ inline int vfp_single_type(const vfp_single* s)
inline u32 vfp_single_unpack(vfp_single* s, s32 val, u32 fpscr) inline u32 vfp_single_unpack(vfp_single* s, s32 val, u32 fpscr)
{ {
u32 exceptions = 0; u32 exceptions = 0;
s->sign = vfp_single_packed_sign(val) >> 16, s->sign = vfp_single_packed_sign(val) >> 16;
s->exponent = vfp_single_packed_exponent(val); s->exponent = vfp_single_packed_exponent(val);
u32 significand = ((u32)val << (32 - VFP_SINGLE_MANTISSA_BITS)) >> 2; u32 significand = ((u32)val << (32 - VFP_SINGLE_MANTISSA_BITS)) >> 2;