• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
a bug in vDSP's vsub()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: OK to use setCharactersToBeSkipped:nil ?
  • Next by Date: Re: Objective C language [NEWBEE QUESTIONS]
  • Previous by thread: Re: OK to use setCharactersToBeSkipped:nil ?
  • Next by thread: Dragging
  • Index(es):
    • Date
    • Thread