假设我有这样的代码:
__device__ float __cosf (float x);
//Calculate the fast approximate cosine of the input argument.
__device__ float __exp10f (float x);
//Calculate the fast approximate base 10 exponential of the input argument.
__device__ float __expf (float x);
//Calculate the fast approximate base e exponential of the input argument.
__device__ float __fadd_rd (float x, float y);
//Add two floating point values in round-down mode.
__device__ float __fadd_rn (float x, float y);
//Add two floating point values in round-to-nearest-even mode.
__device__ float __fadd_ru (float x, float y);
//Add two floating point values in round-up mode.
我如何在 vi 中交换奇数行和偶数行?
最佳答案
你可以定义一个键来交换 2 行:
:map <F2> ddp<Down>
似乎没有太多行,所以按几次'F2'会交换行...
关于vi - 如何在vi中交换奇数行和偶数行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58579964/