Bug #553

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

Added by Andreas Huggel 641 days ago. Updated 449 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to: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

Updated by Andreas Huggel 639 days ago

r1502 in branches/unstable

Updated by Andreas Huggel 451 days ago

  • % Done changed from 0 to 100

Updated by Andreas Huggel 449 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF