perf(hex8): elide exact zero paired cross products
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "../math/high_low_arithmetic.h"
|
||||
#include "hex8_geometry.h"
|
||||
#include "hex8_pair_arithmetic.h"
|
||||
|
||||
namespace fesa {
|
||||
namespace {
|
||||
@@ -18,7 +19,7 @@ HighLow operator-(HighLow a, HighLow b) {
|
||||
return math_internal::Subtract(a, b);
|
||||
}
|
||||
HighLow operator*(HighLow a, HighLow b) {
|
||||
return math_internal::Multiply(a, b);
|
||||
return hex8_internal::MultiplyPair(a, b);
|
||||
}
|
||||
HighLow operator/(HighLow a, HighLow b) {
|
||||
return math_internal::Divide(a, b);
|
||||
|
||||
Reference in New Issue
Block a user