Bug #553

[U]Rational::toLong() and toFloat() should not divide by 0

Added by Andreas Huggel almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

100%

Category:design
Target version:0.18

Description

If the denominator is 0, they should set the ok flag to false and return 0.

History

#1 Updated by Andreas Huggel almost 9 years ago

r1502 in branches/unstable

#2 Updated by Andreas Huggel over 8 years ago

  • % Done changed from 0 to 100

#3 Updated by Andreas Huggel over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux