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
return i
def llAcos(f):
f = ff(f)