Opened 11 years ago

Closed 11 years ago

#3288 enhancement closed fixed (fixed) divide is broken

Reported by: Dave Peticolas Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:


The example code is broken for the divide case.

  1. The variable is misnamed at one point.
  1. The result isn't necessarily a floating point value.

Attachments (1)

0001-Fix-example.patch (888 bytes) - added by Dave Peticolas 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Dave Peticolas

Attachment: 0001-Fix-example.patch added

comment:1 Changed 11 years ago by Jean-Paul Calderone

Resolution: fixed
Status: newclosed

(In [23920]) Apply 0001-Fix-example.patch

Author: davep Reviewer: exarkun Fixes: #3288

Change the ampserver example to always do float division and to use the correct name when returning the result of the Divide command.

comment:2 Changed 8 years ago by <automation>

Owner: Glyph deleted
Note: See TracTickets for help on using tickets.