a bug in vDSP's vsub()
a bug in vDSP's vsub()
- Subject: a bug in vDSP's vsub()
- From: Fei Sha <email@hidden>
- Date: Fri, 30 Jan 2004 08:35:46 -0500
Hi,
Apple's vDSP library (
http://developer.apple.com/hardware/ve/vector_libraries.html ) has a
function,
extern void
vsub(
const float input1[],
SInt32 stride1,
const float input2[],
SInt32 stride2,
float result[],
SInt32 strideResult,
UInt32 size)
According to vDSP documentation(included with the sample codes
downloaded from the aforementioned URL), result = input1 - input2.
However, when I played with it, I got result = input2 - input1, the
exact negative of what is documented.
Any thoughts on this?
Thanks
-Fei
-Fei
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.