| 764 | /// the signs of the dividend and divisor. |
| 765 | template <class DecimalClass> |
| 766 | static inline void FixDivisionSigns(DecimalClass* result, DecimalClass* remainder, |
| 767 | bool dividend_was_negative, |
| 768 | bool divisor_was_negative) { |
| 769 | if (dividend_was_negative != divisor_was_negative) { |
| 770 | result->Negate(); |
| 771 | } |
| 772 | |
| 773 | if (dividend_was_negative) { |
| 774 | remainder->Negate(); |
| 775 | } |
| 776 | } |
| 777 | |
| 778 | /// \brief Build a native endian array of uint64_t from a big endian array of uint32_t. |
| 779 | template <size_t N> |
no test coverage detected