[LLVMdev] A C function which accepts a large integer type?

edA-qa mort-ora-y eda-qa at disemia.com
Sat May 4 07:57:05 PDT 2013


On 04/05/13 16:50, Duncan Sands wrote:
> correct.  Things are a little more complicated if the integer size is not a
> multiple of 8, but I don't think you are interested in this case.

Actually I would also like to know that case (as I support odd sizes).
If this is too complicated though I would just extend them to the next
power of 2 before calling the function.

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130504/b4874d8f/attachment.sig>


More information about the llvm-dev mailing list