Patent attributes
A computer system includes: a storage unit that stores the source program and type information representing data types including a fixed-point type; a detecting unit that obtains the source program from the storage unit and detects a type specifier and an immediate from the obtained source program; a type specifier analyzing unit that analyzes the type specifier and links one of a variable and a function, data type of which is specified by the type specifier, to the type information of the fixed-point type when the type specifier is a floating-point type to store in the storage unit; and an immediate analyzing unit that analyzes the immediate and links the immediate to the type information of fixed-point type when the immediate is any one of a decimal number without a postfix and a decimal number with floating-point type postfix to store in the storage unit.