Hephaestus 發(fā)表于 2023-11-25 15:21
S=Time;
S=((S
Hephaestus 發(fā)表于 2023-11-25 15:21
S=Time;
S=((S
csmyldl 發(fā)表于 2023-11-25 20:50
這樣確實也對,但很多程序中均用S=(Time*17)/1000;來計算,他們是如何實現(xiàn)的?但我的為何不能實現(xiàn)?這個 ...
coody_sz 發(fā)表于 2023-11-25 21:27
S=(Time*17)/1000; 中Time為16位,*17有可能溢出導(dǎo)致不對。你用32為的Time試試。
coody_sz 發(fā)表于 2023-11-25 21:27
S=(Time*17)/1000; 中Time為16位,*17有可能溢出導(dǎo)致不對。你用32為的Time試試。
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |