mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Refine the denormal check for Mono
The threshold for returning 0 for denormals is slightly different.
This commit is contained in:
parent
091f06cccc
commit
c62773ad3f
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ def InternalTypecast(val, out, InList, f32):
|
|||
ret = NaN
|
||||
else:
|
||||
ret = float(match.group(0))
|
||||
if not lslcommon.LSO and abs(ret) < 1.1754943508222875e-38:
|
||||
if not lslcommon.LSO and abs(ret) < 1.1754943157898259e-38:
|
||||
# Mono doesn't return denormals when using (float)"val"
|
||||
# (but it returns them when using (vector)"<val,...>")
|
||||
ret = 0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue