I’m assuming those can be combined to get the Quad file size.
Could someone please tell me how to combine to get the Quad file size?
Could someone please tell me how to combine to get the Quad file size?
#compile exe 'in PBWin, or in PBCC without console #dim all #if %def(%pb_cc32) #console off #endif %UNICODE = 1 type AbrevDirData filesizehigh as dword filesizelow as dword end type function pbmain () as long local ddat as AbrevDirData local FileTimeQd, TixCnt, TixCnt2 as quad local ForCnt as long local TWin as dword txt.window("compare 2 dwords to quad", 100, 100, 20, 45) to TWin ddat.filesizehigh = 7 ddat.filesizelow = 9 tix TixCnt for ForCnt = 1 to 10000000 FileTimeQd = 4294967296 * ddat.filesizehigh + ddat.filesizelow next tix end TixCnt txt.print dec$(TixCnt,11) + " multiply and add" ' tix TixCnt2 for ForCnt = 1 to 10000000 FileTimeQd = mak(quad, ddat.FileSizeLow, ddat.FileSizeHigh) next tix end TixCnt2 txt.print dec$(TixCnt2,11) + " MAK" txt.print txt.print str$(TixCnt / TixCnt2) + " ratio" ' txt.waitkey$ txt.end end function '
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment