swift
bc3a15fb - [CSOptimizer] Disable CGFloat -> Double conversion for unary operators

Commit
1 year ago
[CSOptimizer] Disable CGFloat -> Double conversion for unary operators Some of the unary operators, i.e. prefix `-`, don't have CGFloat variants and expect generic `FloatingPoint` overload to match CGFloat type. Let's not attempt `CGFloat` -> `Double` conversion for unary operators because it always leads to a worse solutions vs. generic overloads.
Author
Parents
Loading