The analysis to special expression on C program language
作者
Lei Guo
摘要
Generally speaking,the expression is calculated in priority level:the higher priority level is calculated first,and the lower is done later.When the operator type is increased,the calculation to the expression become difficult.Moreover,to some special expressions,the calculation in this way will result some mistakes.However,the Getting the Value Directly by the Lowest Priority Level(VDLPL)-a new method on analysing expressions,is able to show its advantage by analysing the sort of complex and special expression:Not only the result of calculation is precise,but also the calculated speed is very quickly.In fact,the VDLPL is to divide an expression into several pieces by the operator of the lowest priority level.The calculation is independent between every piece.Don't exist the problem of the operator's priority level.If some one piece can settle the value of the expression,the calculation of the expression will be more simple.