mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
When optimizing nonconst * const, cast the result to the type of the operator.
Per bug report by @Welcius. Fixes #8.
This commit is contained in:
parent
750465f17b
commit
1bdaff32ab
5 changed files with 46 additions and 5 deletions
|
@ -132,4 +132,7 @@
|
|||
, llSin(-2147483648)
|
||||
, llSin(2147483647)
|
||||
, llSin(2147483647.0)
|
||||
, 2147483647 * 1.0 * 2
|
||||
, 3 * 1.0 / 2
|
||||
, 3 / 2
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue