对于财务应用程序(尤其是需要精确到最后一位的会计应用程序),处理浮点数和双精度数时也需要格外小心。
Financial applications (and especially accounting applications that require accuracy to the last cent) also need to be exceedingly careful when manipulating floats and doubles.
虽然几乎每种处理器和编程语言都支持浮点运算,但大多数程序员很少注意它。
While nearly every processor and programming language supports floating point arithmetic, most programmers pay little attention to it.
这种组合不可避免地使许多程序员忽视了数据类型(如整型和浮点)和基本数据结构(如列表和映射)的缺陷。
The combination was irresistible enough that programmers could overlook the lack of data types like int and float and basic data structures like lists and maps.
要修复此问题,用户可下载上述版本的漏洞补丁,或是为处理浮点数使用额外标志重编译PHP 程序。
To fix the problem, users can download patches for those versions or recompile PHP with additional flags for handling floating point digits.
程序期望查找ascii格式的单精度浮点数;任何无关的字符都将忽略。
The program expects to find a single floating-point number in ASCII format; any extraneous characters will be ignored.
我们处理小数的时候要精心些,比方说我们在做一个简单的统计程序时,要限制结果不能超过100,要尽可能晚的把它转化成浮点数。
We need to be accurate to two decimal places (e.g. in a simple accounting package), scale everything up by 100, and convert it back to floating point as late as possible.
如果你需要在程序中存储浮点数,必须将变量类型声明为double,就像上面你写add2integers这个程序需要将变量声明为int型一样。
If you need to store floating-point values in a program, you must declare variables of type double, just as you previously had to declare variables of type int to write Add2Integers.
版本之后的SOAPpy还要依赖于IEEE 754浮点处理程序包fpconst(当前版本0.6.0)。
SOAPpy, since version 0.10.3, depends on the IEEE 754 floating point handler package fpconst (currently version 0.6.0).
在PHP程序试图将下列数字“2.2250738585072011e- 308”从字符型转为浮点型数据时,该错误可致程序陷入无限循环。
The bug will cause the PHP processing software to enter an infinite loop when it tries to convert the series of digits "2.2250738585072011e-308" from the string format into the floating point format.
一个依靠浮点堆叠大于六个元素的程序有一个环境相依性。
A program that depends on the floating-point stack being larger than six items has an environmental dependency.
我们增加了一些新的API调用,允许计算程序进行自己的CPU测试,或者直接报告它们的浮点操作数目。
We have added new API calls that allow applications to do their own CPU benchmarking, or directly report their floating-point operation count.
真正的程序员嘲笑浮点算法。小数点是为不会顺利思考的家伙发明的。
Real Programmers scorn floating point arithmetic. The decimal point was invented for pansy bedwetters who are unable to think big.
措辞需要浮点词集必须被加到任何需要系统提供浮点词集的标准程序的描述之中。
The phrase Requiring the Floating-Point word set shall be appended to the label of Standard Programs that require the system to provide the Floating-Point word set.
在这种情况下,函数生成为库例程,后者将参数直接传递到浮点芯片,而不是将参数推送到程序堆栈上。
In this case, the functions are generated as library routines that pass arguments directly to the floating-point chip instead of pushing them onto the program stack.
作为例子,我们将要写一个计算由浮点数、圆括号及一些常用的加、减等算术符号组成的算术表达式的程序。
As an example we will write a small program to read and evaluate arithmetic expressions consisting of floating point Numbers, parentheses and the usual operators for addition, subtraction, and so on.
例如我们要写一个计算由浮点数、圆括号及一些常用的加、减等算术符号组成的算术表达式的程序。
As an example we will write a small program to read and evaluate arithmetic expressions consisting of floating point Numbers, parentheses and the usual operators for addition, subtraction, and so on.
我有一个程序,包含大数组的浮点值,并执行大量计算的基础上,这些值后比例下降0到255之间的像素值。
I have a program that contains large arrays of float values, and performs a lot of calculations based on them, these values are later scaled to fall between 0 and 255 to act as pixel values.
最后,论文设计了基于浮点DSPTMS320C 6701的音频解码程序的IMDCT部分,经过测试可以做到实时的解码音频信号和系统控制。
Last, the thesis design the IMDCT software of AC-3 audio decoder based on float DSP TMS320C6701, the result is that TMS320C6701 can decode audio signal and control the system in real time.
我用VC写的十进制与十六进制数的转化程序,绝对独创,可用于需要浮点运算的单片机编程数值转化。
I write with VC metric hexadecimal number and the conversion process, absolutely original and the need for the floating-point...
然而,内部形式可以显著提高浮点密集型程序的速度,而且对于很多程序来说,一致性问题几乎没有任何价值。
However, the intrinsic forms can considerably speed up floating-point-intensive programs, and for many programs, the conformance issues are of little practical value.
浮点数运算模块是采用浮点数格式化等子程序对数据进行处理,提高了数据的运算精度;
The floating point numbers operation modularization deals with data through floating point numbers program of format, multiplication and division, which improves operation precision of the data;
针对定点型dsp的特点设计了定点数与浮点数的转换程序,完成定点型dsp的浮点运算。
Design the fixed point and floating-point conversion process for fixed-point type DSP, completion floating operation of fixed-point type DSP.
真正的程序员鄙视浮点运算。
我的整个应用程序几乎是一个大的浮点操作。
内核从中断返回,并且应用程序的上面的浮点寄存器之一被破坏。
Kernel returns from interrupt, and one of the application's upper floating-point registers is destroyed.
例如,如果一台机器没有浮点硬件,则可以用附加程序来提供浮点操作。
Extracodes may be used to provide floating-point operations, for example, on a machine which does not have floating-point hardware.
例如,如果一台机器没有浮点硬件,则可以用附加程序来提供浮点操作。
Extracodes may be used to provide floating-point operations, for example, on a machine which does not have floating-point hardware.
应用推荐