mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
LL fixed the overflow in llAbs() in Mono
This commit is contained in:
parent
ea2518b37d
commit
28b42e7c6b
3 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue