go top

modulus operator

  • 模运算符

网络释义专业释义

  模运算符

typedef double real; real deal;//使用由typedef 定义的类型 取模运算符(modulus operator)%用于整数运算,该计算符计算出用它右边 的整数去除它左边的整数得到的余数。不要对浮点数使用该运算符,那将是无 效的。

基于48个网页-相关网页

  模除运算符

%模运算符的用法介绍%模运算符的用法介绍 % 是模除运算符(Modulus Operator),用于求余数。% 的优先级与 * 及 / 相同,其结合律也是从左到右。

基于26个网页-相关网页

  求余运算符

... 求余运算符 Modulus operator 布尔表达式 Boolean expressions 逻辑运算符 Logical operators ...

基于1个网页-相关网页

短语

triangle modulus operator 三角模算子

  • 模收运算子

·2,447,543篇论文数据,部分数据来源于NoteExpress

双语例句

  • The modulus operator is more useful than it seems.

    求模运算符的作用远不止如此。

    youdao

  • SQL does not support the modulus operator on floating-point Numbers.

    SQL不支持对浮点数字使用取模运算符。

    youdao

  • An alternative is to use the format operator, %. When applied to integers, % is the modulus operator. But when the first operand is a string, % is the format operator.

    另外一个方法就是用格式运算符,也就是百分号%。在用于整数的时候,百分号%是取余数的运算符。但当第一个运算对象是字符串的时候,百分号%就成了格式运算符了。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定