比方说,假设您是一位学习计算机的高中生(如图3所示),编写了一个温度换算程序。
For example, you could pretend that you're a high school computer science student (see Figure 3), and build a temperature converter.
在内部,可以用任意精度任何范围的值和一个换算因子来表示BigDecimal,换算因子表示左移小数点多少位,从而得到所期望范围内的值。
Internally, BigDecimal is represented as an arbitrary-precision unscaled value and a scale factor, which represents how many places to move the decimal point left to obtain the scaled value.
在计算基本养老金时按年计算,不足一年的部分,换算时保留到小数点后两位。
Calculating year of computation is pressed when basic annuities, be not worth part of a year, the reservation when conversion arrives decimally hind two.
压缩比达到了1.9以上,与其它超光谱图像压缩算法相当。位平面变换算法具有很好的并行性。
The compression ratio of algorithm is more than 1.9. The compression algorithm based on bit plane transform can be realized by parallel computing model.
在5轴加工中,为使机床CNC系统能根据刀位点数据实时生成机床运动坐标,必须在CNC系统软件中加入机床运动空间坐标变换算法。
In order to generate the motion commanders of CNC machine tools, the coordinate conversion algorithm must be added into CNC system in 5-axis machining.
针对BTB部件的功能需要,采用了随机替换算法以及两位饱和计数器算法,并给出电路实现,其电路结构简单,占用面积小。
According to the desire of BTB's function, the paper realizes a pseudo-LRU replacement algorithm and two-bit bimodal algorithm. The circuit has advantages in its simple structure, and small space.
针对BTB部件的功能需要,采用了随机替换算法以及两位饱和计数器算法,并给出电路实现,其电路结构简单,占用面积小。
According to the desire of BTB's function, the paper realizes a pseudo-LRU replacement algorithm and two-bit bimodal algorithm. The circuit has advantages in its simple structure, and small space.
应用推荐