Opened 3 years ago

Closed 3 years ago

#19428 closed defect (fixed)

tv_mdiff rounds incorrectly

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-unit-tests
Cc: Actual Points: 0
Parent ID: Points: 0
Reviewer: Sponsor: SponsorS-can

Description

See XXXX lines in the unit tests I added in f05a213fe1706ce3ba76e12dc8e6f36f74c92794 : those lines fail, because of the rules for C negative division. The fix is trivial.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by nickm

Resolution: fixed
Status: newclosed

Fixed with 41cb26c1696b2e91f6ffe28c98ab471b925de9e8

Note: See TracTickets for help on using tickets.