hi,Daniel Finished reading the comments of the issue75536, I get confused. Basically I agree with Eike. Following Eike's advice that's AnalysisAddIn::getQuotient(), looks like approxCeil() should be applied if exactly one of the arguments is negative, I do that and I don't know whether the result is right. The three hyperlinks on the page can't be opened. The code and results are as follows: double fRet; if( fNum < 0 || fDenum < 0) fRet = ::rtl::math::approxCeil( fNum / fDenum ); else fRet = ::rtl::math::approxFloor( fNum / fDenum ); RETURN_FINITE( fRet );
d D Q R 5 10 0 5 -5 10 0 5 5 -10 0 -5 -5 -10 1 -5 the remainder with the same sign as the divisor D, but it doesn't satify d=D*Q+R. Hope you give me some suggestions. BTW,scaddins is strange to me, can you tell me something about it.
