Opened 21 years ago
Closed 19 years ago
#936 closed Bugs (Fixed)
Category rational - negativ numerator
Reported by: | wsalomon | Owned by: | nobody |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
Hi, there are a bug in 'rational.hpp' if using negativ numerators. in some cases (num=0,num=-1) the operator< works wrong and the operator /= allows negativ denominator. I wrote a little test-programm file "main_rat_comp_test.cpp" to show this. a bug fix (only for MS VC++ 6.0) is tried in file "rational2.hpp" Greetings Werner Salomon
Change History (2)
comment:2 by , 19 years ago
Status: | assigned → closed |
---|
Logged In: YES user_id=536454 Already fixed a long time ago; I'm just closing the case.
Note:
See TracTickets
for help on using tickets.