Accelerate vBigNum adding in place
Accelerate vBigNum adding in place
- Subject: Accelerate vBigNum adding in place
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 28 Mar 2014 21:03:38 +0700
I need something like:
vU1024 a = ...
vU1024 b = ...
a += b
can one do (A):
vU1024Add( &a, &b, &a);
or do I have to write (B):
vU1024 temp;
vU1024Add( &a, &b, &temp) ;
memcpy(&a, &temp, sizeof(a) );
I tried (A) and it seems to work.
But this could be some (undocumented) implementation detail, and I am kind of reluctant to rely on it.
Any authoritative answers?
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden