mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Merge branch 'float4' of https://github.com/petrihakkinen/luau into float4
This commit is contained in:
commit
943ef8e743
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static LuaNode* hashnum(const Table* t, double n)
|
||||||
|
|
||||||
static LuaNode* hashvec(const Table* t, const float* v)
|
static LuaNode* hashvec(const Table* t, const float* v)
|
||||||
{
|
{
|
||||||
unsigned int i[4];
|
unsigned int i[LUA_VECTOR_SIZE];
|
||||||
memcpy(i, v, sizeof(i));
|
memcpy(i, v, sizeof(i));
|
||||||
|
|
||||||
// convert -0 to 0 to make sure they hash to the same value
|
// convert -0 to 0 to make sure they hash to the same value
|
||||||
|
|
Loading…
Add table
Reference in a new issue