LL fixed the overflow in llAbs() in Mono

This commit is contained in:
Sei Lisa 2023-11-18 13:08:50 +01:00
parent ea2518b37d
commit 28b42e7c6b
3 changed files with 1 additions and 6 deletions

View file

@ -967,10 +967,7 @@ def llAbs(i):
i = fi(i)
if i != -2147483648:
return abs(i)
if lslcommon.LSO:
return i
# Mono raises an OverflowException in this case.
raise ELSLCantCompute
def llAcos(f):
f = ff(f)

View file

@ -22,7 +22,6 @@ default
, llGetDisplayName(TEXTURE_BLANK)
, llGetEnv("estate_name")
, llXorBase64Strings("++++", "?")
, llAbs(-2147483648)
, llGetStatus(STATUS_DIE_AT_EDGE)
, llGetStatus(STATUS_DIE_AT_NO_ENTRY)
]);

View file

@ -20,7 +20,6 @@ default
, llGetDisplayName("5748decc-f629-461c-9a36-a35a221fe21f")
, llGetEnv("estate_name")
, llXorBase64Strings("++++", "?")
, llAbs(((integer)-2147483648))
, llGetStatus(128)
, llGetStatus(2048)
]);