[omniORB] 1 / 15 causes assertion failure in corbaFixed.cc line 222

Mike Mascari mascarm at mascari.com
Mon Jun 2 22:46:25 BST 2003


Duncan Grisby wrote:

> On Friday 30 May, Mike Mascari wrote:
> 
> 
>>typedef fixed<16,4> Numeric
>>
>>And the following C++ causes an assertion failure:
>>
>>Numeric value, x, y;
>>
>>x = 1;
>>y = 15;
>>value = x / y;
> 
> 
> Thanks for reporting it. It's a silly bug in division that failed if
> there are leading zeroes in the result. I've fixed it in CVS.

Thank you, Duncan. I'll build tonight's snapshot.

Mike





More information about the omniORB-list mailing list