Project

General

Profile

Bug #553

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

Added by Andreas Huggel over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
design
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

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

History

#1

Updated by Andreas Huggel over 13 years ago

r1502 in branches/unstable

#2

Updated by Andreas Huggel almost 13 years ago

  • % Done changed from 0 to 100
#3

Updated by Andreas Huggel almost 13 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF