1. A method of optimizing machine language code generated from source code having both single and double precision computation, said machine language code used to create an executable program, the optimizing machine language code comprising the steps of: a) storing a count of times one or more precision computations are called in a double or single precision mode in a floating-point computation; b) selecting a default precision mode to be either the double precision mode or the single precision mode and examining a frequency with which a target precision computation is called in a non-default precision mode, based on said stored count; and c) generating and storing generalized code corresponding to a call in a non-default precision mode with respect to the target precision computation, based on said frequency with which a target precision computation is called.