micro-tess
micro-tess copied to clipboard
Question about Q.h implement
I see the implment of shift_right_correctly_by. Is it because:
For negative a, the value of a >> b is implementation-defined (until C++20)
But in multiply<1>, why you don't care to use fpValue1>>P?
And in the implment of operator /=. Why you use left shift directly? Because:
For negative a, the behavior of a << b is undefined.
Looks like it is worse than implementation-defined
Hi @heroboy , I have read your comment, thank you. I will try to get back to you with discussion at the weekend or start of next week.