使用表2作为一个方便的八进制权限参考。
基数8(八进制)。
可以用十进制、十六进制或八进制记数法定义整数常数。
Integer constants can be defined in decimal, hex or octal notation.
按这种方法设置的权限使用高达4位八进制数字。
函数返回某个数字的八进制值。
返回表示数字八进制值的字符串。
函数的作用是:将一个八进制数转换为十进制。
The octdec function converts an octal number to a decimal number.
掌握利用栈实现十进制数转换成八进制数的运算。
Master the stack to achieve a decimal number converted to octal number of operation.
表3总结了这里讨论的3种访问模式的符号和八进制表示。
Table 3 summarizes the symbolic and octal representation for the three access modes discussed here.
注意也许你想用八进制数指定模式,也就是说该数应以零打头。
Note that you probably want to specify the mode as an octal number, which means it should have a leading zero.
操作数可以是变量,还可以是十进制、十六进制、八进制或二进制数。
Operands can be variables or decimal, hexadecimal, octal, or binary Numbers.
其他的可选参数是8(八进制),16(十六进制),17(字符)。
The other allowed values are 8 (Octal), 16 (Hexadecimal) or 17 (Characters).
Python支持不同进制的整型字符串文本—八进制、十进制(最明显的!)
Python supports string literals of integers of different bases-octal, decimal (obviously!), and hexadecimal-and now binary has been added.
下面是以KornShell 93语法计算基数8(八进制)ewu值的代码。
Here is a base 8 (octal) EWU value calculation in Korn Shell 93 syntax.
如果向八进制数传递了一个非法数字(即8或9),则后面其余数字会被忽略。
If an invalid digit is passed to octal integer (I. E. 8 or 9), the rest of the number is ignored.
Python可以提供对八进制(以8为基数)和十六进制(以16为基数)数字的支持。
Python provides support for octal (base 8) and hexadecimal (base 16) Numbers.
一个整数可以有三种表示方法,十进制、八进制和十六进制。下面三个例子是相同的。
An integer may be expressed in decimal, octal, or hexadecimal notation. The following three display filters are equivalent.
脚本函数应该能够以多种格式生成ewu值,比如十进制、二进制、八进制或十六进制。
The script function should be able to generate EWU values in multiple formats, such as base 10, binary, octal, or hexadecimal.
最后一个构造函数也采用了字符串“100”——但是它使用基数8来创建整数值,通常称为八进制。
And the final constructor takes the string of characters "100" — but this time creates an integer using base 8, which is more commonly known as base octal.
可以添加一个前缀来表示非十进制基底的数:0代表八进制, 0x或0X代表十六进制。
An optional prefix sets a non-decimal base: 0 for octal, 0x or 0X for hexadecimal.
在上面的输出当中,Git向我们显示有关文件模式的信息;100644表示这些文件的权限的八进制版本。
In the output above, Git is telling us about file modes; 100644 refers to the octal version of the permission bits on those files.
原来的ASCII 7位字符集将字母、货币、数字和控制码信息映射为十进制、八进制和十六进制数字。
The original ASCII 7-bit character set mapped the letters, and monetary, numerical, and control-code information to decimal, octal, and hexadecimal numbers.
我们今天使用的10进制是直接基于这一事实:我们惯用10根手指数数(这样的话辛普森大概是以八进制数数了)。
The base-10 system we use today is a direct result of the fact we count on our 10 fingers (the Simpsons, presumably, are working in base eight).
您可以将输出显示为八进制、十六进制、十进制、浮点数、包含反斜杠转义符的ASCII,或者指定的字符(nl表示换行、ht表示水平制表符,等等)。
You can display output as octal, hex, decimal, floating point, ASCII with backslash escapes, or named characters (nl for newline, ht for horizontal TAB, etc.).
您可以将输出显示为八进制、十六进制、十进制、浮点数、包含反斜杠转义符的ASCII,或者指定的字符(nl表示换行、ht表示水平制表符,等等)。
You can display output as octal, hex, decimal, floating point, ASCII with backslash escapes, or named characters (nl for newline, ht for horizontal TAB, etc.).
应用推荐