mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
attempt allowing a more complex expression here
This commit is contained in:
parent
592469373b
commit
9216e4cb27
@ -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; \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user