Fix ordering issue with folly dynamic subtraction and division
Summary: folly dynamic "double / int" (division, same goes for subtraction) results in the operands switching places (always becomes "int / double") due to int and non-int checking logic. Same applies to addition and multiplication, but order doesn't matter for those. If both dynamics are doubles or both are ints, then the problematic logic is bypassed. So this is only when you have one int and one double, and the int comes second, and the operand is subtraction or division. Reviewed By: yfeldblum Differential Revision: D14379896 fbshipit-source-id: e76f1fe677fc4ea69856649ab046a5080a902b0d
Showing
Please register or sign in to comment