【发布时间】:2020-02-25 02:10:29
【问题描述】:
我在将以下 C++ 行转换为 VB.NET 时遇到了困难。其中大多数似乎涉及位移,但是,我需要从代码中取出 << 和 >> 以及进行相等性检查:
nn = n << 1
m >>= 1
istep = mmax << 1
wr=(wtemp=wr)*wpr-wi*wpi+wr; //what is the check for wtemp=wr?
VB.NET 转换是什么样的?
【问题讨论】:
-
重复,至少在位移方面:stackoverflow.com/questions/1417645/…