
词语导航
基本信息
词语:模运算符
繁体:模運算符
拼音:mó yùn suàn fú
英语翻译
【计】 modulus operator
分词翻译
模运算的英语翻译:
【计】 modular arithmetic符的英语翻译:
accord with; symbol翻译例句
1. 求模运算符的作用远不止如此。
The modulus operator is more useful than it seems.
2. SQL不支持对浮点数字使用取模运算符。
SQL does not support the modulus operator on floating-point Numbers.
3. 在这种情况下你最好的选择是使用绝对值做模运算符时如果你想基本整数的除法。
Your best bet in situations like this is to operate on absolute values when doing modulo operators if you want basic integer division.
4. 原先是简单的使用取模运算符(%)的实现,它非常低效,它自己检查从2到目标数的每个数字,确定是否是因子。
The original naive implementation used the modulus (%) operator, which is wildly inefficient, to check every number from 2 up to the target number itself to determine if it is a factor.
5. 另外一个方法就是使用求模运算符了,百分号%就是了,求模运算就是求余数,会把两个数相除然后返回余数。
An alternative is to use the modulus operator, %, which divides two Numbers and returns the remainder.
6. 练习4 - 3在有了基本框架后,对计算器程序进行扩充就比较简单了。在该程序中加入取模(%)运算符,并注意考虑负数的情况。
Exercise 4-3. Given the basic framework, it"s straightforward to extend the calculator. Add the modulus (%) operator and provisions for negative Numbers.
7. 练习4 - 3在有了基本框架后,对计算器程序进行扩充就比较简单了。在该程序中加入取模(%)运算符,并注意考虑负数的情况。WwW.WENtIyI.cOm
Exercise 4-3. Given the basic framework, it"s straightforward to extend the calculator. Add the modulus (%) operator and provisions for negative Numbers.
版权声明:问题易所有作品(图文、音视频)均来源网络,版权归原创作者所有,与本站立场无关,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理!
