A computer program product configured to compile source programs into machine language programs within a computer system, the computer program product comprising:
- an instruction configured to analyze a definition statement of a fixed-point data type in a source program, acquire data type information of the fixed-point data type, including at least one of a type number, a data type, a sign, a data size, a number of bits in the integral part and fractional part, and store the data type information in a type-information storage unit;
- an instruction configured to analyze a variable declaration statement of the fixed-point data type, acquire variable information including a variable name and the type number as a result of the analyzing, and store the variable information in a variable storage unit;
- and
- an instruction configured to read arithmetic expression data including the variable in the source program, acquire the type number corresponding to the variable from the variable storage unit, acquire the data type information corresponding to the type number from the type-information storage unit, convert the arithmetic expression data including the data type information into machine language of a function calling instruction or the fixed point arithmetic instruction installed in a processor.