Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3288853 ] print(k)s prints wrong negative values with format %d

Date2011-04-18 12:40
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3288853 ] print(k)s prints wrong negative values with format %d
Bugs item #3288853, was opened at 2011-04-18 13:40
Message generated for change (Tracker Item Submitted) made by joachimheintz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3288853&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Joachim Heintz (joachimheintz)
Assigned to: Nobody/Anonymous (nobody)
Summary: print(k)s prints wrong negative values with format %d

Initial Comment:
seems like all negative integers are printed  wrong (-1 as 0, -2 as -1 etc) with the prints and printks opcodes, when using the %d formatter (%.0f or the printf opcodes are ok):


instr 1
prints "-1 = %d with format d, but should be %.0f%n", -1, -1
endin


i 1 0 0



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3288853&group_id=81968

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net