Skip to content

Commit

Permalink
attempt allowing a more complex expression here
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaranthineCodices committed Oct 27, 2023
1 parent 5924693 commit 9216e4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion VM/src/lnumutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ LUAU_FASTMATH_END
#if defined(_MSC_VER) && defined(_M_IX86)
#define luai_num2unsigned(i, n) \
{ \
double v = (n); \
__int64 l; \
__asm { __asm fld n __asm fistp l} \
__asm { __asm fld v __asm fistp l} \
; \
i = (unsigned int)l; \
}
Expand Down

0 comments on commit 9216e4c

Please sign in to comment.