Which file can I find the implementation of unsigned long long division (ulonglong divided by ulong) in? (MS VC++ 2010)
Which file can I find the implementation of unsigned long long division (ulonglong divided
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you used the default installation directory, it should be somewhere around:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\crt\src\intel\ulldiv.asm
If you’re using a 32-bit edition of Windows, that’ll (probably) be
C:\program filesinstead ofc:\program files (x86). Despite the comments, this code is really for an unsigned long long divide, not just unsigned long divide (i.e., it takes 64-bit operands, not 32-bit).I’d have to check to be sure, but I believe the compiler can/will generate inline code for the division when intrinsics are enabled. Of course, a 64-bit compiler will generate inline code in any case.